Liquid Template Linter and Formatter
djLint is a Liquid template linter and a Liquid template formatter! Take advantage of the pre-built profile when linting and formatting your templates with djLint.
One profile covers all Liquid dialects: Shopify themes, Jekyll, LiquidJS (Eleventy) and Fluid (Orchard Core).
Using the Command Line
djlint /path/to/templates --profile=liquid
Or, Use a Config File
Configure djLint in your project’s pyproject.toml, djlint.toml / .djlint.toml, or .djlintrc file.
[tool.djlint]
profile="liquid"
profile="liquid"
{ "profile": "liquid" }