Closed sanorama closed 7 years ago
Hi! The Twig highlighting should do a decent job.
worked like a charm, thank you
twig
didn't work well for me - I used liquid
instead and this seemed to work better.
Note that you can alias njk
to liquid
, so that if eventually a Nunjucks-specific language definition comes along, your content is ready for it:
Prism.languages.njk = Prism.languages.liquid;
Nunjucks is obviously not supported but is there any way to highlight njk syntax?
https://mozilla.github.io/nunjucks/