- Install Sublime Text package control plugin if (if you don't already have it) - follow instructions here
- Add this repository(https://github.com/antal-bukos/sublimetext3_jinja2_syntax) - do CMD+SHIFT+P and start typing
add repository
, copy and paste the URL of this repository into the input field - Install this package - do CMD+SHIFT+P and start typing
install package
then typejinja2_syntax
into the search box and press ENTER after selecting the package
Once the package is installed you'll have the option to set the syntax of your document to HTML with Jinja2
Once set you'll see the syntax highlighted and you'll have autocomplete options for the most commonly used control structures and builtin filters