Skip to content

Indent lists when item text wraps #22

@kalinjul

Description

@kalinjul

In lists, in my case <ul>, when item texts are too long for one line, they wrap around to the next line.
But the next line is not indented as you would expect from HTML rendering:

Image

Github Rendering:

  • Long item text that wraps around. The second line should be indentend. Long item text that wraps around. The second line should be indentend.
  • Item Item Item

I think this could be fixed by using a ParagraphStyle with TextIndent "restline" parameter set:

ParagraphStyle( textIndent = TextIndent( firstLine = ... restLine = restLineIndent ) )

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions