Skip to content

Fix introduction.stories.mdx and MDX2 support#10

Open
anglee wants to merge 1 commit intoalexeagleson:masterfrom
anglee:master
Open

Fix introduction.stories.mdx and MDX2 support#10
anglee wants to merge 1 commit intoalexeagleson:masterfrom
anglee:master

Conversation

@anglee
Copy link

@anglee anglee commented Sep 11, 2022

The introduction page in storybook seems to be broken and always rendered as blank:
image

This seems to be coming from MDXv2 support not set up properly. Following the instruction in: https://gist.github.com/shilman/6ff2d7e18db8846e8fc552fb432ae4f6

After:
image

@anglee
Copy link
Author

anglee commented Sep 11, 2022

There is a known issue, it seems the global style (e.g. font) is still missing. I haven't been able to figure out why that is the case. Compare with downgrading @mdx-js/react to 1.6.22:
image

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

Successfully merging this pull request may close these issues.

2 participants