Sha256: 193ae6c7cc6d49a6756c45ff5b19de1f37e5051bc30f0431f75303b3820b479d
Contents?: true
Size: 535 Bytes
Versions: 10
Compression:
Stored size: 535 Bytes
Contents
--FILE-- <?php $filter = new MtHaml\Filter\Scss(new scssc); $env = new MtHaml\Environment('twig', array('enable_escaper' => false), array('scss' => $filter)); echo $env->compileString($parts['HAML'], "$file.haml"); --HAML-- :scss @mixin color ($color) { color: $color; } p { @include color(blue); } :scss p.#{class} { text-align: left; } --EXPECT-- <style type="text/css"> /*<![CDATA[*/ p { color: blue; } /*]]>*/ </style> {% filter mthaml_scss %}p.{% line 10 %}{{ class }} { text-align: left; } {% endfilter %}
Version data entries
10 entries across 10 versions & 1 rubygems