Linter e formattatore per template Handlebars

djLint analizza e formatta i template Handlebars. Imposta il profilo handlebars per adattare le regole e la formattazione a questi template.

Che cos’è Handlebars?

Uso dalla riga di comando

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

Oppure usa un file di configurazione

Configura djLint nel file pyproject.toml, djlint.toml / .djlint.toml o .djlintrc del tuo progetto.

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