Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix mdx docs #40402

Merged
merged 3 commits into from Sep 9, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/advanced-features/using-mdx.md
Expand Up @@ -33,7 +33,7 @@ The following steps outline how to setup `@next/mdx` in your Next.js project:
1. Install the required packages:

```bash
npm install @next/mdx @mdx-js/loader
npm install @next/mdx @mdx-js/loader @mdx-js/react
```

2. Require the package and configure to support top level `.mdx` pages. The following adds the `options` object key allowing you to pass in any plugins:
Expand Down
4 changes: 2 additions & 2 deletions packages/next-mdx/readme.md
Expand Up @@ -5,13 +5,13 @@ Use [MDX](https://github.com/mdx-js/mdx) with [Next.js](https://github.com/verce
## Installation

```
npm install @next/mdx @mdx-js/loader
npm install @next/mdx @mdx-js/loader @mdx-js/react
```

or

```
yarn add @next/mdx @mdx-js/loader
yarn add @next/mdx @mdx-js/loader @mdx-js/react
```

## Usage
Expand Down