lightbend/paradox

Sublists are not rendered as expected

LLCampos opened this issue · 1 comments

When I pass the following Markdown through Paradox:

- item 1
- item 2
  - sub-item 2.1
  - sub-item 2.2
- item 3

I get this:

image

I would expect something like this:

image

The markdown parser that paradox uses (pegdown) parses lists with a fixed indent size — either 4 spaces or a tab. So the following will work:

- item 1
- item 2
    - sub-item 2.1
    - sub-item 2.2
- item 3

See also sirthias/pegdown#245. So this is as expected for pegdown and paradox. There was a plan to move to a new parser instead (flexmark-java, #81).