We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
next.config.js like this
const withMDX = createMDX({ options: { remarkPlugins: [], rehypePlugins: [['rehype-katex', { strict: true, throwOnError: true }]], }, })
but codehike can not use name
import {remarkCodeHike, recmaCodeHike} from 'codehike/mdx' ???
so,what should I do?
The text was updated successfully, but these errors were encountered:
mdxRs doesn't support remarkPlugins yet, that means you can't use Code Hike with mdxRs.
mdxRs
remarkPlugins
not sure the about the next.config.js example you put there, it doesn't look like you are using mdxRs.
next.config.js
Sorry, something went wrong.
The issue seems to be that @next/mdx only works with serializable options when using Turbopack (ref).
@next/mdx
Is there any way how to get this to work with Code Hike?
E.g. this works:
// ... const withMDX = createMDX({ options: { rehypePlugins: [['rehype-mdx-code-props']] } }); export default withMDX(nextConfig);
No branches or pull requests
next.config.js like this
but codehike can not use name
so,what should I do?
The text was updated successfully, but these errors were encountered: