Mustache Template Linter and Formatter

djLint is a mustache template linter and a mustache template formatter! Take advantage of the pre-build profile when linting and formatting your templates with djLint.

What is Mustache?

Using the Command Line

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

Or, Use a Config File

Configure djLint in your projects pyproject.toml.

[tool.djlint]
profile="handlebars"
Edit this page Updated Jun 30, 2022