{"categories":[{"label":"Quality Assurance","url":"https://skillfed.io/packages/category/software-development-quality-assurance"},{"label":"HTML","url":"https://skillfed.io/packages/category/text-processing-markup-html"}],"enrichment":{"capability":"djlint formats and lints HTML templates with embedded template syntax (Django, Jinja, Twig, Nunjucks, Handlebars, Liquid, Go templates, and others), fixing indentation, tag case, spacing, and catching structural issues that generic HTML tools miss.","skillfed_tags":["template-linting","html-formatter","django-tools"],"use_cases":["Enforce consistent indentation and formatting across Django or Jinja templates in a web project.","Catch missing alt attributes, unclosed tags, and other accessibility or structural issues in templates during code review.","Reformat a large legacy template codebase to a standard style in one pass.","Integrate template linting into CI/CD pipelines via pre-commit hooks to prevent formatting drift.","Validate template syntax for multiple template engines (Twig, Nunjucks, Handlebars) in a polyglot project."],"what_it_does":"djlint is a command-line formatter and linter designed to fill a gap: while every programming language has formatters and linters, HTML templates are typically left unformatted because generic HTML tools cannot parse template syntax like `{% %}` and `{{ }}`. djlint reads both HTML and template syntax together, with built-in profiles for Django, Jinja, Twig, Nunjucks, Handlebars, Liquid, Go templates, and others.\n\nIt reformats templates by fixing indentation, normalizing tag case, splitting long tags into one attribute per line, and collapsing stray blank lines. Its linter catches structural issues that formatting alone cannot fix: orphan tags, missing alt attributes, hard-coded URLs, and dozens of other template-specific checks. The tool is available as a CLI, integrates with pre-commit, and has editor plugins for VS Code and other environments.","worth_installing":"Yes. djlint is actively maintained, has no known vulnerabilities, low install friction, and solves a real problem\u2014template formatting and linting that generic HTML tools cannot handle. The GPL-3.0-or-later license is copyleft, so verify compatibility with your project's license before bundling; development and CI/CD use are unaffected. Recommended for any project using Django, Jinja, or other templated HTML."},"id":"djlint","links":{"html":"https://skillfed.io/packages/djlint","md":"https://skillfed.io/packages/djlint.md","pypi":"https://pypi.org/project/djlint/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-08-08","license_spdx":"GPL-3.0-or-later","license_treatment":"copyleft","name":"djlint","python_support":"supports_current","summary":"HTML template linter and formatter (Django, Jinja, Twig, Nunjucks, Handlebars, Liquid, Go templates)"},"popularity":{"monthly_downloads":3623732,"position":2553,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"1.44.2"}
