mdx 2.3.0 + remark-gfm 4.0.0 breaks tables
ky1ejs opened this issue · comments
Initial checklist
- I read the support docs
- I read the contributing guide
- I agree to follow the code of conduct
- I searched issues and couldn’t find anything (or linked relevant results below)
Affected packages and versions
2.3.0
Link to runnable example
No response
Steps to reproduce
- Check out ky1ejs/kylejs-site#86
- Run
npm run build
- See error relating to GFM table
Expected behavior
Build should complete successfully
Actual behavior
TypeError: Cannot read properties of undefined (reading 'inTable')
Runtime
Node v18
Package manager
npm v9
OS
macOS
Build and bundle tools
Next.js
I wanted to report this since I didn't see an issue tracking this problem on this repo yet.
According to this remark-gfm
issue, many packages in the Markdown JS/TS ecosystem are still updating to latest models/packages since a major release recently (circa August 2023).
In the issue linked above, the maintainer mentions that MDX should be making its way to be up to date with the latest changes.
I'd be happy to help out with this, be would be helpful to get an intro to the work with an existing contributor (and, for that matter, a status check of whether y'all are already aware/working on this :) ).
p.s. thanks so much for your work on this project!
All the packages are done except for MDX (and remark-lint). Wait a day or two for MDX. One feature rest docs. Use the previous remark-gfm for now.
v3 is out!