Skip to content

Commit 8d63330

Browse files
authored
Change mdx options description (#11409)
* Change mdx options description https://mdxjs.com/advanced/plugins#using-remark-and-rehype-plugins * Change descriptions of next-mdx
1 parent 9e2ae69 commit 8d63330

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/next-mdx/readme.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,14 @@ const withMDX = require('@next/mdx')()
2424
module.exports = withMDX()
2525
```
2626

27-
Optionally you can provide [MDX options](https://github.com/mdx-js/mdx#options):
27+
Optionally you can provide [MDX plugins](https://mdxjs.com/advanced/plugins#plugins):
2828

2929
```js
3030
// next.config.js
3131
const withMDX = require('@next/mdx')({
3232
options: {
33-
mdPlugins: [],
34-
hastPlugins: [],
33+
remarkPlugins: [],
34+
rehypePlugins: [],
3535
},
3636
})
3737
module.exports = withMDX()

0 commit comments

Comments
 (0)