FormidableLabs / FormidableLabs/spectacle
How to swap out mdx-js for MDX-bundler?
- Dominant language
- TypeScript
- Stars
- 10.2k
- Forks
- 700
- PR merge metrics
- No merged PRs in 30d
Description
### Question
I would like to swap out `mdx-js` for a [`MDX-bundler`](https://github.com/kentcdodds/mdx-bundler) / `xdm` mdx parser. This change would make possible easy usage of Unified (remark/rehype) markdown plugins, as well as updates the MDX syntax to 2.0 (most noticeably removing the requirement of leaving an empty line between and content.)
Is this possible?
### Background Info/Attempts
I have looked at the docs / examples of [spectacle-mdx-loader](https://github.com/FormidableLabs/spectacle-mdx-loader/tree/main/examples/mdx) and feel that this may be possible, but I haven't understood how Spectacle-Webpack interacts. Perhaps pointers there would be sufficient to get me moving along.
Contributor guide
Assessment
This issue has not been assessed yet.