๐Ÿ“ฆ hyoban / remark-github-alerts

๐Ÿ“„ next.config.mjs ยท 14 lines
1
2
3
4
5
6
7
8
9
10
11
12
13
14import nextra from 'nextra'
import remarkGithubAlerts from 'remark-github-alerts'

const withNextra = nextra({
  theme: 'nextra-theme-docs',
  themeConfig: './theme.config.tsx',
  mdxOptions: {
    remarkPlugins: [remarkGithubAlerts],
    rehypePlugins: [],
  },
})

export default withNextra()