Skip to content

[FEATURE] Option to not indent elements child to <html> #1099

Description

@thomthom

Feature Request

I'm trying out djlint for my django HTML templates. I'm trying to get it formatting close to the default VSCode HTML formatter that I quite liked.

One thing I wasn't able to match was to prevent and etc to not indent. I find that indenting these doesn't add to readability. Would an option for such a configuration be possible?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions