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.
Ein Profil deckt alle Liquid-Dialekte ab: Shopify-Themes, Jekyll, LiquidJS (Eleventy) und Fluid (Orchard Core).
Über die Befehlszeile
Abschnitt betitelt „Über die Befehlszeile“djlint /path/to/templates --profile=liquidIn einer Konfigurationsdatei
Abschnitt betitelt „In einer 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" }