mdx-js / mdx

Markdown for the component era

Home Page:https://mdxjs.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

mdx 2.3.0 + remark-gfm 4.0.0 breaks tables

ky1ejs opened this issue · comments

Initial checklist

Affected packages and versions

2.3.0

Link to runnable example

No response

Steps to reproduce

  1. Check out ky1ejs/kylejs-site#86
  2. Run npm run build
  3. See error relating to GFM table

Expected behavior

Build should complete successfully

Actual behavior

TypeError: Cannot read properties of undefined (reading 'inTable')

268693986-e320c477-446a-4a47-9b16-d01825fccfac

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!