preprocess
preprocess copied to clipboard
Added support for pug regex
Added support for Pug (Jade)
Thanks @gittycat for your contribution 🙏 Before merging your PR, I need some clarification because I am also not familiar with Pug 💦
The regexes seems to support this syntax /* @echo FOO */ but that doesn't seem to be a valid comment in Pug. Because the current regex rules seems to respect the syntax of each language, I would prefer to support only //- if that makes sense.
@pioug Yes, //- seem to be the correct syntax.
This PR is pretty old and I've moved on to other things since then. You're welcome to make any other changes with it. Cheers.