Sha256: 9767b0752160386413992262a1413971514b77a77e2020cffe0269f60de1fc6f
Contents?: true
Size: 493 Bytes
Versions: 10
Compression:
Stored size: 493 Bytes
Contents
--FILE-- <?php $filter = new MtHaml\Filter\Markdown\Parsedown(new Parsedown); $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 %}## {% line 8 %}{{ header }} Foo *c* * list {% endfilter %}
Version data entries
10 entries across 10 versions & 1 rubygems