react-live icon indicating copy to clipboard operation
react-live copied to clipboard

Unable to render MDX syntax (Markdown + JSX at the same time)

Open andresburns opened this issue 5 years ago • 0 comments

Hi!, I've been trying to make an editor that renders both Markdown syntax and JSX components at the same time using Next.js following this tutorial https://mdxjs.com/guides/live-code

But it seems like react-live is not able to handle markdown syntax even if the scope is configured to use mdx.

This Codesandbox should illustrate the issue https://codesandbox.io/s/zen-rosalind-bwf2k?file=/components/CodeBlock.js

Any ideas?

Thank you!

andresburns avatar Aug 18 '20 02:08 andresburns