You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I wanted to ask if there was a way to generate markdown from a React component.
Say for example I wanted to create a custom React component that would return a markdown string for a code snippet. After importing it, I'd like Nextra to then render the code snippet correctly. Is there a way to do such a thing?
Summary
I wanted to ask if there was a way to generate markdown from a React component.
Say for example I wanted to create a custom React component that would return a markdown string for a code snippet. After importing it, I'd like Nextra to then render the code snippet correctly. Is there a way to do such a thing?
Example
React
Markdown
Renders...
The text was updated successfully, but these errors were encountered: