Skip to content
@djlint

djLint

Linter and formatter for Django, Jinja, Nunjucks, Twig, Handlebars and other HTML templates, with a language server and VS Code and Zed extensions.


djLint Logo

The missing formatter and linter for HTML templates.

Downloads Discord

djLint reads HTML and the template syntax inside it, with profiles for Django, Jinja, Twig, Nunjucks, Handlebars, Mustache, Liquid, Go templates, Angular, Tera, Askama and Mako.

uv tool install djlint, pip install djlint or npm i -g djlint

djlint . --lint finds problems, djlint . --reformat fixes the formatting

djlint --lsp runs the language server for Neovim, Helix, Sublime Text, JetBrains IDEs and Emacs

Pinned Loading

  1. djLint djLint Public

    HTML template formatter and linter for Django, Jinja, Twig, Nunjucks, Handlebars, Mustache, Liquid, Go templates, Angular, Tera, Askama and Mako. Formats markup and template syntax together, and li…

    Python 965 127

  2. djlint-vscode djlint-vscode Public

    VS Code extension that formats and lints HTML templates with djLint. Supports Django, Jinja, Twig, Nunjucks, Handlebars, Mustache, Liquid, Go templates, Angular, Tera, Askama and Mako, and ships a …

    TypeScript 76 4

Repositories

Showing 10 of 10 repositories
  • djLint Public

    HTML template formatter and linter for Django, Jinja, Twig, Nunjucks, Handlebars, Mustache, Liquid, Go templates, Angular, Tera, Askama and Mako. Formats markup and template syntax together, and lints for accessibility, correctness and style. CLI, language server (LSP), pre-commit hook and VS Code extension.

    djlint/djLint's past year of commit activity
    Python 965 GPL-3.0 127 7 3 Updated Nov 26, 2026
  • djlint-zed Public

    Zed extension that formats and lints HTML templates with djLint. Supports Django, Jinja, Twig, Nunjucks, Liquid, Handlebars, Go templates, Mustache, Tera and Angular.

    djlint/djlint-zed's past year of commit activity
    Rust 1 MIT 0 0 1 Updated Nov 26, 2026
  • djlint-vscode Public

    VS Code extension that formats and lints HTML templates with djLint. Supports Django, Jinja, Twig, Nunjucks, Handlebars, Mustache, Liquid, Go templates, Angular, Tera, Askama and Mako, and ships a bundled djLint runtime so it works with no Python install.

    djlint/djlint-vscode's past year of commit activity
    TypeScript 76 MIT 4 0 0 Updated Nov 25, 2026
  • .github Public

    Profile of the djLint organization on GitHub.

    djlint/.github's past year of commit activity
    0 0 0 0 Updated Nov 18, 2026
  • RelativeToNow Public archive

    Return string from date relative to now

    djlint/RelativeToNow's past year of commit activity
    Python 2 GPL-3.0 0 1 2 Updated Nov 4, 2026
  • html-template-parser Public archive

    A parser for HTML templates.

    djlint/html-template-parser's past year of commit activity
    Python 1 GPL-3.0 0 1 2 Updated Nov 4, 2026
  • html-styles Public archive

    Default styles for html tag names

    djlint/html-styles's past year of commit activity
    Python 2 GPL-3.0 0 1 0 Updated Nov 4, 2026
  • html-element-attributes Public archive

    List of known HTML tag attribute names.

    djlint/html-element-attributes's past year of commit activity
    Python 1 GPL-3.0 0 1 0 Updated Nov 4, 2026
  • html-tag-names Public archive

    List of known HTML tags.

    djlint/html-tag-names's past year of commit activity
    Python 0 GPL-3.0 0 1 0 Updated Nov 4, 2026
  • html-void-elements Public archive

    List of HTML void tag names

    djlint/html-void-elements's past year of commit activity
    Python 2 GPL-3.0 0 1 0 Updated Nov 4, 2026