18 lines
292 B
TypeScript
18 lines
292 B
TypeScript
import createMDX from '@next/mdx'
|
|
|
|
export default createMDX({
|
|
options: {
|
|
rehypePlugins: [
|
|
['rehype-highlight', null],
|
|
],
|
|
},
|
|
})({
|
|
output: 'standalone',
|
|
pageExtensions: ['js', 'jsx', 'mdx', 'ts', 'tsx'],
|
|
experimental: {
|
|
mdxRs: {
|
|
mdxType: 'gfm',
|
|
},
|
|
},
|
|
})
|