Skip to content

Instantly share code, notes, and snippets.

@jz5
Created May 14, 2014 08:45
Show Gist options
  • Save jz5/bd75df87dae07246b735 to your computer and use it in GitHub Desktop.
Save jz5/bd75df87dae07246b735 to your computer and use it in GitHub Desktop.
<?php
$converter = new Markdownify\ConverterExtra;
$converter->parseString('<h1 id="md">Heading</h1>');
// Returns: # Heading {#md}
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment