From 8d63330c15e2ff9755406fc9f407bbcc385fc72b Mon Sep 17 00:00:00 2001 From: Eugene Dzhumak Date: Sat, 28 Mar 2020 23:20:48 +0400 Subject: [PATCH] Change mdx options description (#11409) * Change mdx options description https://mdxjs.com/advanced/plugins#using-remark-and-rehype-plugins * Change descriptions of next-mdx --- packages/next-mdx/readme.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/next-mdx/readme.md b/packages/next-mdx/readme.md index a45f28cef0dee..2f2345949d1e8 100644 --- a/packages/next-mdx/readme.md +++ b/packages/next-mdx/readme.md @@ -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()