Nunjucks Template Linter and Formatter

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

What is Nunjucks?

Using the Command Line

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

Or, Use a Config File

Configure djLint in your projects pyproject.toml.


Real Life Examples!

Edit this page Updated Dec 20, 2023