Skip to content

Commit

Permalink
chore(gatsby-plugin-mdx): Use MDX v1 for install instructions (#34774)
Browse files Browse the repository at this point in the history
  • Loading branch information
LekoArts committed Feb 9, 2022
1 parent 93a2071 commit f720571
Showing 1 changed file with 4 additions and 10 deletions.
14 changes: 4 additions & 10 deletions packages/gatsby-plugin-mdx/README.md
@@ -1,7 +1,7 @@
![Logo](./img/gatsby-mdx.png)

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

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

### Read more about MDX

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

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

## Installation

Install with npm:
Install:

```shell
npm install gatsby-plugin-mdx @mdx-js/mdx @mdx-js/react
```

Install with yarn:

```shell
yarn add gatsby-plugin-mdx @mdx-js/mdx @mdx-js/react
npm install gatsby-plugin-mdx @mdx-js/mdx@v1 @mdx-js/react@v1
```

## Usage
Expand Down

0 comments on commit f720571

Please sign in to comment.