Skip to content

Integration with NextJS? #50

Description

@saltcod

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',
  },
})```

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions