Replies: 4 comments 4 replies
-
|
We don't have built-in way to do this, so choose rendering Markdown library that you like for this purpose and use it in your JSX component. |
Beta Was this translation helpful? Give feedback.
-
|
@lex111 ye figured that out, 10x! I tried to fetch MD in runtime from remote resources and render those in MD files, cheers. |
Beta Was this translation helpful? Give feedback.
-
|
@asaf feel free to add your plugin to our list of plugins https://docusaurus.io/community/resources#community-plugins |
Beta Was this translation helpful? Give feedback.
-
|
For those who are interested in rendering & translating Markdown: It also has a tiny implementation of wrapping react-markdown. You might find it useful. :) |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hey,
Is it possible to render markdown from a JSX component, then include this component within an MD file?
I tried using
remark-parsedirectly but some deps are missing, wondering if there's a better approach.Thanks,
Asaf.
Beta Was this translation helpful? Give feedback.
All reactions