iamacup / react-native-markdown-display

React Native 100% compatible CommonMark renderer
MIT License
590 stars 169 forks source link

How to use this library with an imported .md file rather than a string literal? #142

Closed alexbfree closed 10 months ago

alexbfree commented 3 years ago

Hi, do you or any users of this library have some example code on how to use this library in React Native with an imported local (or indeed, remote) .md file? Thank you.

jforaker commented 2 years ago

I did this https://stackoverflow.com/questions/52571450/react-native-expo-load-markdown-files/71679347#71679347 and it works perfectly (in a non-expo app, contrary to the original post)