Skip to content

Implement 'indent' filter #174

Open
Open
@flexferrum

Description

@flexferrum

Implement 'indent' filter according to the jinja2 specification:

Return a copy of the string with each line indented by 4 spaces. The first line and blank lines are not indented by default.

Parameters:

  • width – Number of spaces to indent by.
  • first – Don’t skip indenting the first line.
  • blank – Don’t skip indenting empty lines.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthacktoberfestIssues for Hacktoberfesthelp wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions