Nunjucks syntax highlighter for Brackets.
JavaScript
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitattributes
README.md
main.js
package.json
test.njk

README.md

nunjucks-brackets

Nunjucks syntax highlighter for Brackets.

This extension defines a new CodeMirror mode named nunjucks. The mode is combined with CodeMirror's existing HTML mixed mode, so that any HTML code placed inside a Nunjucks block gets properly highlighted. The nunjucks mode is mapped to the following file extensions:

  • html
  • htm
  • nunjucks
  • njk

Note that this is a very rough implementation, which is not meant to cover the entire Nunjucks grammar. Contributions most welcome.