Skip to content

preview raw html source code #664

Discussion options

You must be logged in to vote

remark with rehype can be used to do this https://github.com/remarkjs/remark-rehype#use

Does react-markdown provide any option to get the raw html source from converted markdown.

No, this is a non-goal for react-markdown, it focuses on react as an output. For HTML output, use the remark rehype solution above.

Replies: 1 comment

Comment options

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