Skip to content
New issue

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

Integration with NextJS? #50

Open
saltcod opened this issue Oct 31, 2022 · 0 comments
Open

Integration with NextJS? #50

saltcod opened this issue Oct 31, 2022 · 0 comments

Comments

@saltcod
Copy link

saltcod commented Oct 31, 2022

Hey there!

Wondering if anyone's integrated this with an mdx setup in Nextjs?

I've added admonitions to the remarkPlugin array, but no bueno there. Any ideas?

Thanks!

const withMDX = nextMdx({
  extension: /\.mdx?$/,
  options: {
    remarkPlugins: [remarkGfm, admonitions],
    rehypePlugins: [rehypeSlug],
    providerImportSource: '@mdx-js/react',
  },
})```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant