jsoverson / preprocess

Preprocess HTML, JavaScript, and other files with directives based off custom or ENV configuration
Other
366 stars 80 forks source link

Add support for fake end of html comments to all directives #66

Closed Frizi closed 9 years ago

Frizi commented 9 years ago

This is very useful when you need to use different directives inside your @if block that may contain additional tags.

<!-- @if target='dist' !>
<div>
<!-- @echo MY_STRING !>
</div>
<!-- @endif -->
BendingBender commented 9 years ago

Nice! Could you also please add tests for this, like the ones for the preprocess javascript (hidden by default syntax)?

Frizi commented 9 years ago

Done, found and fixed a bug with @include :grinning: