Open tomcode45678 opened 1 year ago
Describe the bug I'm running compile(file, { mdxCompileOptions: { jsx: true, format: 'mdx' } }) where file is a string of a mdx file.
compile(file, { mdxCompileOptions: { jsx: true, format: 'mdx' } })
file
The output I'm getting is React without JSX.
_jsx("br", {}), "\n", _jsx("br", {}), "\n", _jsx("img", { src: "https://rojcyk.com/imgs/blog/figma-variants-crash-course/2.gif", width: "600", alt: "" })
Expected behavior JSX output
Describe the bug I'm running
compile(file, { mdxCompileOptions: { jsx: true, format: 'mdx' } })
wherefile
is a string of a mdx file.The output I'm getting is React without JSX.
Expected behavior JSX output