How to make an mdx editor with an editing preview? #2599
Replies: 1 comment
-
There is a playground on the MDX website. You can see the code for that: https://github.com/mdx-js/mdx/blob/main/docs/_asset/editor.jsx. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Tech Stack:
Next.js
My current progress:
The goal I want to achieve:
Implement an article editor to store the .mdx file I wrote in the database.How can I ensure that the preview of the edit matches the rendering effect of the mdx on the article detail page?
Beta Was this translation helpful? Give feedback.
All reactions