Skip to content

Commit

Permalink
Change mdx options description (#11409)
Browse files Browse the repository at this point in the history
* Change mdx options description

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

* Change descriptions of next-mdx
  • Loading branch information
ElForastero committed Mar 28, 2020
1 parent 9e2ae69 commit 8d63330
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/next-mdx/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 8d63330

Please sign in to comment.