You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently MDX 2 is supported, but everything in Next.js is focused on supporting MDX 1. I would like to update this. I noticed this while implementing #36815.
Describe the feature you'd like to request
Currently MDX 2 is supported, but everything in Next.js is focused on supporting MDX 1. I would like to update this. I noticed this while implementing #36815.
Describe the solution you'd like
with-mdx
example is updated to use MDX 2with-mdx-remote
example is updated tonext-mdx-remote
4@next/mdx
uses a dependency on@mdx-js/loader
instead of a peer dependency.@next/mdx
peer dependency on@mdx-js/react
is removed, as it’s redundant now.I’ll gladly do this myself. Just let me know if you’ll accept a PR for this.
Describe alternatives you've considered
The alternative is not to upgrade, but I think it’s a bad idea to keep suggesting older versions of MDX.
The text was updated successfully, but these errors were encountered: