Skip to content

danielchatfield/atom-jinja2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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