Is there a way to prevent MDX from parsing the majority of the markdown file? #1299
-
I'm playing with MDX and want to use it to enable React components within Markdown but don't want it to parse the rest of the markdown file. Does anyone know if it's possible to do something to the effect of:
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 12 replies
-
Could you expand on what you mean by "enable React components within Markdown but don't want it to parse the rest of the markdown file"? Are you looking to disable specific markdown features while keeping others? Something like https://github.com/zestedesavoir/zmarkdown/tree/HEAD/packages/remark-disable-tokenizers#readme |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
Could you expand on what you mean by "enable React components within Markdown but don't want it to parse the rest of the markdown file"?
Are you looking to disable specific markdown features while keeping others? Something like https://github.com/zestedesavoir/zmarkdown/tree/HEAD/packages/remark-disable-tokenizers#readme