Liquid Template Linter and Formatter
djLint lints and formats Liquid templates. Set the liquid profile so the rules and the formatting fit them.
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" }