Replies: 2 comments
-
Oh, that's great, thank you for sharing. Should be an easy enhancement, will look into it. Converting this to a feature "issue". |
Beta Was this translation helpful? Give feedback.
0 replies
-
Just pushed a fix for that in v0.17.2. Closing the discussion, but let me know if there's more to it. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I am using
next-mdx-remote
to display my content generated bymdx-editor
and stored remotely.According to the docs,
next-mdx-remote
does not use the import statement and takes the components as a prop. See docs.Currently, I am thinking of just deleting first 2 lines of the generated content before storing it in order not to have an import statement in my content.
Here is QoL feature that would be helpful as next-mdx-remote is becoming the go to repo.
Leaving it undefined in current version just adds
import { MyLeaf } from 'undefined'
Beta Was this translation helpful? Give feedback.
All reactions