-
-
Notifications
You must be signed in to change notification settings - Fork 174
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
Make CodeSurfer compatible with mdx-deck 2.x #54
base: master
Are you sure you want to change the base?
Conversation
PS I have no idea why
|
website failure seems to be the same as jxnblk/mdx-deck#284 (gatsby still depends on mdx v1 which does not play well with mdx-deck 2) |
For what it's worth, this worked for me. @pomber any plans to merge and publish support for this? |
Just in case: beware that |
@@ -1,5 +1,5 @@ | |||
import React from "react"; | |||
import { Notes } from "mdx-deck"; | |||
import { Notes } from "@mdx-deck/components"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The mdx-deck
package actually exports all of the components in @mdx-deck/components
. See here.
Note: this is my first yarn/React experience, so the change might be off the track.
However the support for mdx-deck 2.x seems to be not that difficult.
fixes #53