Tera template linter and formatter
djLint lints and formats Tera templates. Set the tera profile so the rules and the formatting fit them.
Using the command line
Section titled “Using the command line”djlint /path/to/templates --profile=teraIn a config file
Section titled “In 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" }