Open PaulieScanlon opened 1 year ago
I had this problem. It turned out to be because @storybook/addon-docs
was still importing the <MDXProvider />
from @mdx-js/react@1
. I used npm overrides to force it to use @mdx-js/react@2
instead which fixed it.
Please try upgrading to the latest prerelease of 7.0, which upgrades fully to MDX2.
Migration guide: https://storybook.js.org/migration-guides/7.0
Describe the bug
Hi team, here's s small reproduction repo using the following:
v18.0.0
@storybook/mdx2-csf
previewMdx2: true
builder: '@storybook/builder-webpack5'
The introduction story does render but there's no font and code block / inline code block styling on elements created using markdown.
Here's s screen shot: Storybook + MDX 2
To Reproduce
System
Additional context
n/a, but I think you all are great!