Jinja Template HighlightingSyntax highlighting for jinja(2) including HTML, Markdown, YAML and other templates. This is a fork from Samuel Colvin's Better Jinja extension. I made a fork because the original project author seems not to actively review the PRs. I also learn from Django extension to parse Jinja expression inside HTML attribute values. Languages:Introduces syntax highlighting into vscode for the following languages: Jinja RawRaw jinja templates: system name no file default associations. Jinja HTMLJinja HTML templates: system name Default file associations: Jinja XMLJinja HTML templates: system name Default file associations: Jinja CSSJinja HTML templates: system name Default file associations: Jinja JSONJinja JSON templates: system name Default file associations: Jinja MarkdownJinja markdown templates: system name Default file associations: Jinja YAMLJinja YAML (sls) templates: system name Default file associations: Jinja TOMLJinja TOML templates: system name Default file associations: Jinja LaTeXJinja latex templates: system name Jinja's default syntax does not play nicely with LaTeX, so this extension adopts the style used in Jupyter nbconvert templates:
Thus assuming the following Jinja configuration:
Default file associations: Jinja LuaJinja Lua templates: system name Default file associations: Jinja Propertiesaka config / cfg / ini file: system name Default file associations: Jinja Shell ScriptsJinja shell/bash/zsh templates: system name Default file associations (same as for the DockerfilesDockerfile templates: system name Default file associations: Unfortunately associating Jinja SQLJinja SQL templates: system name Default file associations: Jinja PythonJinja python templates: system name Default file associations: Jinja CythonJinja cython templates: system name Default file associations: Jinja Terraform / HashiCorp configuration languageJinja Terraform templates: system name Default file associations: Jinja NginxJinja Nginx Conf templates: system name Default file associations: Jinja GroovyJinja Groovy templates: system name Default file associations: Jinja Systemd Unit FilesJinja Systemd Unit File templates: system name Default file associations: Jinja C++Jinja C++ templates: system name Default file associations: Jinja JavaJinja Java templates: system name Default file associations: Jinja PHPJinja PHP templates: system name Default file associations: Jinja Cisco IOSCisco IOS configuration templates: system name Default file associations: Jinja RustJinja Rust templates: system name Default file associations: Extra File AssociationsYou can add more file associations, for example to associate
Snippet SupportBreakpoints SupportAllows to set breakpoints in template file.
In order to correctly debug template add |