Closed loklaan closed 10 years ago
If you want the contents of the script tag to be interpreted as jade don't use the trailing dot or pipe syntax, at least as of the latest jade version (1.3.1). Also I fixed it so it won't be highlighted as javascript.
I thought I should put an issue up as my regex-fu isn't so good.
Writing embedded jade after script(type="text/template") requires writing that jade code with plaintext escapes, like end dot or piping. So, like this:
or
Would be nice to ignore those initial escapes and continue using source.jade.