Tera Template Linter and Formatter

djLint lints and formats Tera templates. Set the tera profile so the rules and the formatting fit them.

What is Tera?

Using the command line

djlint /path/to/templates --profile=tera

Or, use a config file

Configure djLint in your project’s pyproject.toml, djlint.toml / .djlint.toml, or .djlintrc file.

[tool.djlint]
profile = "tera"
profile = "tera"
{ "profile": "tera" }