-
-
Save cordoval/9151d94414712c631b03 to your computer and use it in GitHub Desktop.
br
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$render = new \Sundown\Render\HTML(); | |
$md = new \Sundown\Markdown($render, array("autolink"=>true)); | |
$stringOfDeath = <<<EOD | |
``` yaml | |
#someLabel | |
some code text | |
``` | |
Testing inline markup for code ```triple tick text``` | |
EOD; | |
echo $md->render($stringOfDeath); | |
$extensions = $md->getExtensions(); | |
var_dump($extensions); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
you need to activate the fenced code blocks if you want the GFM syntax for code blocks.
Otherwise, when using standard markdown, they need to be indented