Skip to content

Liquid template linter and formatter

djLint lints and formats Liquid templates. Set the liquid profile so the rules and the formatting fit them.

What is Liquid?

One profile covers all Liquid dialects: Shopify themes, Jekyll, LiquidJS (Eleventy) and Fluid (Orchard Core).

Terminal window
djlint /path/to/templates --profile=liquid

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

pyproject.toml
[tool.djlint]
profile = "liquid"
djlint.toml / .djlint.toml
profile = "liquid"
.djlintrc
{ "profile": "liquid" }