Skip to content

Leif7/lh.brackets.syntax-highlighter-jinja2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Enables syntax highlighting for Jinja2 in Brackets editor (http://brackets.io/)

IMPORTANT: Highlighting is not automatic as HTML highlighting will be used by Brackets for HTML files.

To use Jinja2 highlighter, first install 'Code Highlighter Switcher' extension trough extension manager. Then add following to its languages.json file:

{
    "label": "Jinja2",
    "mode": "jinja2"
},

Code Highlighter Switcher than can be used to switch between HTML and Jinja2 for .html (or other) files.

More details about Code Highlighter Switcher can be found on: https://github.com/asotog/codehighlighter-switcher-bracketsio

========================================================= Brackets for some reason only support these languages: https://github.com/adobe/brackets/blob/master/src/language/languages.json despite CodeMirror that Brackets use is supporting many more.

Fortunately, it's easy to add support for those through an extension: https://github.com/adobe/brackets/wiki/Language-Support#defining-a-new-language and that's why and how this extension has been created.

About

Jinja2 syntax highlighting for Brackets.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published