mientjan / react-native-markdown-renderer

React Native 100% compatible CommonMark renderer
MIT License
424 stars 418 forks source link

Use case for "textgroup" tokens #135

Open jayshah123 opened 5 years ago

jayshah123 commented 5 years ago

Original parser(markdown-it) does not have textgroup tokens, usually a paragraph has a list of elements which can be of any type, and the core leaf node is just text.

Why and what is the need for textgroup specifically?

iamacup commented 5 years ago

I have been having problems with the textGroup token in react-native-markdown-display - explained here: https://github.com/iamacup/react-native-markdown-display/issues/42#issuecomment-562199006