Closed DavieReid closed 9 months ago
closing as Dupe of https://github.com/hashicorp/next-mdx-remote/issues/419
I can confirm that next-mdx-remote@0.0.0-canary-20240321205249
(canary version from the v5 PR) is compatible with remark-gfm@4.0.0
🎉
(in my analysis, this most likely extends to any other plugins such as rehype-pretty-code
which depend on MDX v3 or newer versions of the Unified dependencies)
Hello,
I noticed that
next-mdx-remote
uses version 2.2.1 of@mdx-js/mdx
which in turn uses version 10.0.0 ofunified
.I would like to use the latest version of the
rehype-pretty-code
plugin which requires version 11 ofunified
.This issue is also caused by the unified versions.
Would you be open to a contribution that updates
@mdx-js/mdx
and@mdx-js/react
to their latest versions?