-
Notifications
You must be signed in to change notification settings - Fork 10
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
MDX render is printing wrapping HTML tag instead of rendering #33
Comments
Same Issue, I started getting it when I updated to mdxv2 |
I also have the same issue, after updating to gatsby-plugin-mdx v4 and mdxv2. |
Same here |
has anyone found any workarounds? |
I had to build my own. Just made a custom component that I add in the markdown |
@signalwerk any thoughts on whether this is a bug or oils be addressed? Seems like basically mdx2 is not supported with the current version due to this... |
Having the same issue sadly. |
I couldn't figure out how to fix the tests, but I published @ricale's patch as a new npm package to use in the meantime. https://www.npmjs.com/package/gatsby-remark-table-of-contents-patch |
After installing the plugin and setting up the config, the output of the MDX file into HTML is "printing" the wrapping div tag as a string instead of rendering it as an HTML tag
gatsby-config.js
MDX sample file
Rendered Output code
There's no way I can see to configure the type of HTML wrapper that I can see. Unsure why this would be outputting the tag as string instead of code
The text was updated successfully, but these errors were encountered: