-
Notifications
You must be signed in to change notification settings - Fork 146
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
add scoped variables #8
Conversation
documentation was included on the wrong line.
This is incredible, thank you so much for the contribution @chewnoill! Going to take a moment to ensure I fully understand the changes that were made here, then will get this shipped out |
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.
This is really excellent. Thank you so much. Just one small comment with some additional dead code that can be removed!
.then((jsx) => { | ||
return `${renderer}\n${jsx}` | ||
}) | ||
return mdx(source, { ...options, skipExport: true }) |
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.
I hadn't dug up this skipExport
option, this is a great find. I think we can also remove this transform safely now that it has been added!
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.
👍
This includes a refactor that removes the dependency on require-from-string.
a23bff5
to
75226ae
Compare
👏🏼 thank you again for the contribution! I'll have a release out for this shortly |
Hey! 👋
This PR brings
next-mdx-remote
more in line with how the mdx-runtime works.see: https://github.com/mdx-js/mdx/blob/master/packages/runtime/src/index.js
Great work over here by the way, I like what you're doing