Change mdx options description (#11409)
* Change mdx options description https://mdxjs.com/advanced/plugins#using-remark-and-rehype-plugins * Change descriptions of next-mdx
This commit is contained in:
parent
9e2ae69973
commit
8d63330c15
1 changed files with 3 additions and 3 deletions
|
@ -24,14 +24,14 @@ const withMDX = require('@next/mdx')()
|
|||
module.exports = withMDX()
|
||||
```
|
||||
|
||||
Optionally you can provide [MDX options](https://github.com/mdx-js/mdx#options):
|
||||
Optionally you can provide [MDX plugins](https://mdxjs.com/advanced/plugins#plugins):
|
||||
|
||||
```js
|
||||
// next.config.js
|
||||
const withMDX = require('@next/mdx')({
|
||||
options: {
|
||||
mdPlugins: [],
|
||||
hastPlugins: [],
|
||||
remarkPlugins: [],
|
||||
rehypePlugins: [],
|
||||
},
|
||||
})
|
||||
module.exports = withMDX()
|
||||
|
|
Loading…
Reference in a new issue