preprocess icon indicating copy to clipboard operation
preprocess copied to clipboard

Added support for pug regex

Open gittycat opened this issue 7 years ago • 2 comments

Added support for Pug (Jade)

gittycat avatar May 29 '18 07:05 gittycat

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 avatar Apr 10 '20 19:04 pioug

@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.

gittycat avatar Apr 12 '20 06:04 gittycat