Open dbelchev opened 6 years ago
@dbelchev Thanks for submitting the issue! Originally this was a feature I decided I didn't need myself so did not put time into making it work. I think mainly the thought process was that markdown is not really the best for such complex structures anyway.
If it is something that you desperately need, I'm sure proper support for nested lists would be quite easy to implement in the code (see renderList and how the ordered
parameter is passed into renderNodes -> a nested
parameter could be passed similarly ). I would be happy to accept a PR for such a feature if you are interested in trying to implement it.
I saw a problem with the rendering of nested unordered lists:
Unordered list without nesting - rendered correctly:
<Markdown> {"* Bullet 1\n* Bullet 2"} </Markdown>
Unordered list with nesting - not correct:
<Markdown> {"* Parent Bullet\n * Nested Bullet"} </Markdown>
Thank you!