Open gittycat opened 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.
Just one thing. This pull request includes package.json change that should not be merged.
@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 .
@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.
Done, pull request is here https://github.com/jsoverson/preprocess/pull/134 It's forked from the current master.
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.