-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
MDX runtime #558
Comments
Ah, nice catch. We should most likely update the docs so that they pass Demo in with components since that's what's passed to the MDXProvider. As of v1, scope is more intended for other variables rather than additional components. |
Putting Demo in the components object does indeed work. Thanks! |
The readme has been updated so I'm going to go ahead and close now, thanks for opening! |
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
I have a question regarding using MDX runtime.
I want to use MDX at runtime to parse MDX to react elements.
The docs contain the following example
Using this component results in an error message:
Is the example still correct? Do I need to always wrap it with an MDXProvider?
The text was updated successfully, but these errors were encountered: