Skip to content

Commit f720571

Browse files
authored
chore(gatsby-plugin-mdx): Use MDX v1 for install instructions (#34774)
1 parent 93a2071 commit f720571

File tree

1 file changed

+4
-10
lines changed

1 file changed

+4
-10
lines changed

packages/gatsby-plugin-mdx/README.md

+4-10
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
![Logo](./img/gatsby-mdx.png)
22

33
> `gatsby-plugin-mdx` is the official integration for using [MDX](https://mdxjs.com)
4-
> with [Gatsby](https://www.gatsbyjs.org/).
4+
> with [Gatsby](https://www.gatsbyjs.com).
55
66
# What’s MDX?
77

@@ -18,7 +18,7 @@ MDX seeks to make writing with Markdown and JSX simpler while being more express
1818

1919
### Read more about MDX
2020

21-
- [📚 Gatsby guide](https://www.gatsbyjs.org/docs/mdx/)
21+
- [📚 Gatsby guide](https://www.gatsbyjs.com/docs/mdx/)
2222
- [📣 Language](https://mdxjs.com)
2323
- [👩‍🔬 Specification](https://github.com/mdx-js/specification)
2424

@@ -49,16 +49,10 @@ MDX seeks to make writing with Markdown and JSX simpler while being more express
4949

5050
## Installation
5151

52-
Install with npm:
52+
Install:
5353

5454
```shell
55-
npm install gatsby-plugin-mdx @mdx-js/mdx @mdx-js/react
56-
```
57-
58-
Install with yarn:
59-
60-
```shell
61-
yarn add gatsby-plugin-mdx @mdx-js/mdx @mdx-js/react
55+
npm install gatsby-plugin-mdx @mdx-js/mdx@v1 @mdx-js/react@v1
6256
```
6357

6458
## Usage

0 commit comments

Comments
 (0)