Skip to content
Jinja2 syntax highlighting for the atom editor.
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
grammars Added syntax defintions for Jinja template which output: markdown Aug 10, 2016
settings
snippets Updated snippets for new syntax definitions Mar 4, 2016
README.md Add new syntax definitions Mar 4, 2016
package.json Prepare 0.6.0 release Dec 3, 2016

README.md

Atom Jinja2 package

Provides syntax highlighting for jinja2 templates in atom.

Adds a "jinja templates" syntax and several combined syntax definintions, for jinja templates which output different types of file.

New Syntax Definintions

In addition to the file extensions below, all syntax definintions also specify .jinja2 & .j2.

"HTML (Jinja templates)" syntax

Jinja templates for HTML files. Also matches .html.j2

"Generic Config (Jinja Templates)" syntax

Jinja templates for Config files. Also matches .conf.j2.

Requires the language-generic-config package.

"Python (Jinja Templates)" syntax

Jinja templates for Python files. Also matches .py.j2

"Shell Script (Jinja Templates)" syntax

Jinja templates for Shell Script files. Also matches .sh.j2

"XML (Jinja Templates)" syntax

Jinja templates for XML files. Also matches .xml.j2

"YAML (Jinja Templates)" syntax

Jinja templates for YAML files. Also matches .yml.j2 & .yaml.j2

You can’t perform that action at this time.