Sha256: d14ad31c95f6042fc74e166fa67a122e891267c24f634da1572f55b058b3a55d
Contents?: true
Size: 610 Bytes
Versions: 10
Compression:
Stored size: 610 Bytes
Contents
--FILE-- <?php if (!class_exists('Ciconia\Ciconia')) { throw new PHPUnit_Framework_SkippedTestError('Ciconia\Ciconia'); } $filter = new MtHaml\Filter\Markdown\Ciconia(new Ciconia\Ciconia); $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