jsoverson / preprocess

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

Added better Jade support #76

Open gittycat opened 9 years ago

gittycat commented 9 years ago

Jade has two comment styles: //- for comments that are to be stripped before generation to html // for comments that get converted into in the html.

The //- style comment is important in Jade and it requires the changes to the js regex that I've made.

BendingBender commented 9 years ago

Nice work! It'll take time for me to merge this because I'll have to implement tests for the introduced functionality. You could help me with this if you want to.

Frizi commented 9 years ago

Just one thing. This pull request includes package.json change that should not be merged.

shenqihui commented 6 years ago

@gittycat Can i just fork your branch and change pakcage.json back and make a pull request ? I meet some bug width jade and your idea can fix it . Thanks .

Frizi commented 6 years ago

@shenqihui it's three years old and inactive, so surely nobody will be mad at you. When you're at it, remember that Jade was renamed to pug.

gittycat commented 6 years ago

Done, pull request is here https://github.com/jsoverson/preprocess/pull/134 It's forked from the current master.