Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot get JSX output #36

Open
tomcode45678 opened this issue Jan 31, 2023 · 0 comments
Open

Cannot get JSX output #36

tomcode45678 opened this issue Jan 31, 2023 · 0 comments

Comments

@tomcode45678
Copy link

Describe the bug
I'm running compile(file, { mdxCompileOptions: { jsx: true, format: 'mdx' } }) where file is a string of a 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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant