Sha256: a27b40ecdd1fb765b3c6a3383bc6659f676863127e8f3b0e6a0bd67990198b42
Contents?: true
Size: 558 Bytes
Versions: 1
Compression:
Stored size: 558 Bytes
Contents
--FILE-- <?php $filter = new MtHaml\Filter\Markdown\FluxBBMarkdown(new FluxBB\CommonMark\DocumentParser(), new FluxBB\CommonMark\Renderer()); $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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
guard-mthaml-0.4.0 | vendor/mthaml/mthaml/test/MtHaml/Tests/fixtures/environment/markdown_filter_fluxbb.test |