We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
2.1.1
No response
The below doesn't work in mdx
<div>Hello world </div>
But this works fine
<div> Hello world </div>
You can test on playground
Unformatted mdx should work fine
Unformatted mdx doesn't work
The text was updated successfully, but these errors were encountered:
In MDX JSX content can either be inline
<div>Hello world</div>
or a block
Content cannot be a mix of both. The syntax error is expected in this case.
Sorry, something went wrong.
I had huge number of mdx files, which were generated using a script.
If anyone faces similar issue as mine , you can use prettier to format mdx.
npx prettier --write pathToMDXFolder
or
const prettier = require("prettier") let prettifiedMDX = prettier.format( mdxString,{ parser: "mdx" });
Thanks
No branches or pull requests
Initial checklist
Affected packages and versions
2.1.1
Link to runnable example
No response
Steps to reproduce
The below doesn't work in mdx
But this works fine
You can test on playground
Expected behavior
Unformatted mdx should work fine
Actual behavior
Unformatted mdx doesn't work
Runtime
No response
Package manager
No response
OS
No response
Build and bundle tools
No response
The text was updated successfully, but these errors were encountered: