Unverified Commit 8d63330c authored by Eugene Dzhumak's avatar Eugene Dzhumak Committed by GitHub

Change mdx options description (#11409)

* Change mdx options description

https://mdxjs.com/advanced/plugins#using-remark-and-rehype-plugins

* Change descriptions of next-mdx
parent 9e2ae699
......@@ -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()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment