react-native-markdown-renderer
react-native-markdown-renderer copied to clipboard
Ordered list is numbered incorrectly when text is added between list items
When there is text between an ordered list's items, the numbers rendered are always 1. It seems like the list numbers are reset because of the text between the items, but this doesn't match CommonMark or markdown-it behavior.
See how the reference implementations display it:
I have cloned the example app and added the test content. And here is a screenshot to help make things clear:

I see the issue, i just dont know how to fix this. the tokens retrieved from markdown-it do not provide enough information that i will be able to set the ordered list numbering.
Just submitted PR #59. How about something like that?