Benjamin-Dobell / react-native-markdown-view

MarkdownView for React Native
MIT License
190 stars 77 forks source link

Simple Markdown fails with `Unexpected view type nested under text node` #34

Open Alanz2223 opened 6 years ago

Alanz2223 commented 6 years ago

Hello, I like the styling of this library as opposed to the alternatives however I've tried all of them and they seem to all have an error parsing basic markdown due to how react native Android renders components. The error seems to occur when you try nesting components in your markdown, for example something like this (view it raw since github parses it)

or

I get the following error

Unexpected view type nested under text node: class com.facebook.react.uimanager.LayoutShadowNode

a simple list with a nested list of links fails... Would anyone have a simple and elegant solution to this problem?

Dykyi commented 5 years ago

+