Linter und Formatter für Liquid-Templates

djLint lintet und formatiert Liquid-Templates. Setzen Sie das Profil liquid, damit Regeln und Formatierung zu ihnen passen.

Was ist Liquid?

Ein Profil deckt alle Liquid-Dialekte ab: Shopify-Themes, Jekyll, LiquidJS (Eleventy) und Fluid (Orchard Core).

Über die Befehlszeile

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

Oder über eine Konfigurationsdatei

Konfigurieren Sie djLint in der Datei pyproject.toml, djlint.toml / .djlint.toml oder .djlintrc Ihres Projekts.

[tool.djlint]
profile = "liquid"
profile = "liquid"
{ "profile": "liquid" }