Askama Template Linter and Formatter

djLint is an Askama template linter and an Askama template formatter! Take advantage of the pre-built profile when linting and formatting your templates with djLint.

What is Askama?

Using the Command Line

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

Or, Use a Config File

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

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