paradox
paradox copied to clipboard
Sublists are not rendered as expected
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:
I would expect something like this:
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 https://github.com/sirthias/pegdown/issues/245. So this is as expected for pegdown and paradox. There was a plan to move to a new parser instead (flexmark-java, https://github.com/lightbend/paradox/issues/81).