Skip to content

Plugin example syntax different in react-markdown GitHub readme and react-markdown node_module readme #736

Discussion options

You must be logged in to vote

The documentation in the current readme is for react-markdown version 6, which uses remarkPlugins and rehypePlugins.
The second example you are showing appears to be react-markdown version 5, which uses plugins.
These changes are noted in the changelog https://github.com/remarkjs/react-markdown/blob/main/changelog.md#600---2021-04-15

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by wooorm
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants