Skip to content
Discussion options

You must be logged in to vote

On initial load, converting markdown to html and then set the value worked for me.

After the user finish typing, converting html back to markdown worked for me.

However, the library call 'marked' which converts markdown to html required a lot of tweaking to get the correct format. The library called 'turndown' did not work in react native, so i had to convert it myself.

I am using tiptap for rich text editing in web which worked really well. In order to have the same behaviour in react native using react-native-enriched required a lot more efforts and might not have the perfect result due to markdown html conversion. I think built in markdown support just like how tiptap does it is still …

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by DavidGuo-stafflink
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant