Skip to content

I can't run it after updating to Version 9 #1237

Discussion options

You must be logged in to vote

There are release notes that explain how to upgrade https://github.com/remarkjs/react-markdown/blob/main/changelog.md#900---2023-09-27

I couldn't find where to import "ReactMarkdownOptions".

This is now Options and exported at the top level.

I couldn't find any instructions on what we should do for "inline".

Explained in the release notes https://github.com/remarkjs/react-markdown/blob/main/changelog.md#remove-extra-props-passed-to-certain-components

Most importantly, the "components" prop no longer accepts "pre"

No, it still does accept pre.

I couldn't find any instructions explaining how to use "CopyButton".

Right, <CopyButton> is your custom component, why would react-markdown

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@ChristianMurphy
Comment options

Answer selected by ChristianMurphy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants