Make CodeSurfer compatible with mdx-deck 2.x#54
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.
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