Next JS MDX
Plugins in mdx do not work. I have configured everything in next-config.mjs and created mdx-components.tsx in the root folder, but plugins refuse to work (all of them).
Environment Information
The table shall look like this
But it simply appear in <p> tags as a raw paragraph and I dont know what's the issue. I came across the same problem in the Next JS repo, however their solutions did not help me.
Expected Behavior
Proper work of all plugins
Browser
Using Chrome Version 122.0.6261.129 (Official Build), (64 bit)
1 Reply
no experience with it, but what does your
nextConfig
object look like?
maybe check this topic: https://github.com/vercel/next.js/discussions/36310GitHub
How to import remark plugins (remark-gfm) in next.config.js? ยท verc...
I basically have the same question as this stack overflow question and I haven't been able to find any answers on any forum or docs. I'm working with @next/mdx and I want to use the remark-...