Skip to content

Commit

Permalink
lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ijjk committed Jun 14, 2023
1 parent 060a603 commit 1b4aa86
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions packages/next-mdx/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ module.exports = withMDX({
By default MDX will only match and compile MDX files with the `.mdx` extension.
However, it can also be optionally configured to handle markdown files with the `.md` extension, as shown below:


```js
// next.config.js
const withMDX = require('@next/mdx')({
Expand All @@ -65,7 +64,6 @@ module.exports = withMDX()

In addition, MDX can be customized with compiler options, see the [mdx documentation](https://mdxjs.com/packages/mdx/#compilefile-options) for details on supported options.


## Top level .mdx pages

Define the `pageExtensions` option to have Next.js handle `.md` and `.mdx` files in the `pages` directory as pages:
Expand Down

0 comments on commit 1b4aa86

Please sign in to comment.