Sha256: 1f3aa58c658742b8a9cfc6570c6ed9d38c31fdb966328c271ccdcd80c5bcc83e
Contents?: true
Size: 502 Bytes
Versions: 10
Compression:
Stored size: 502 Bytes
Contents
--FILE-- <?php $filter = new MtHaml\Filter\Markdown\MichelfMarkdown(new Michelf\MarkdownExtra); $env = new MtHaml\Environment('twig', array('enable_escaper' => false), array('markdown' => $filter)); echo $env->compileString($parts['HAML'], "$file.haml"); --HAML-- :markdown ## Header Foo *c* * list :markdown ## #{header} Foo *c* * list --EXPECT-- <h2>Header</h2> <p>Foo <em>c</em></p> <ul> <li>list</li> </ul> {% filter mthaml_markdown %}## {{ header }} Foo *c* * list {% endfilter %}
Version data entries
10 entries across 10 versions & 1 rubygems