Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ChristopherBiscardi/gatsby-plugin-mdx

gatsby v1 mdx plugin, for gatsby v2 see https://github.com/ChristopherBiscardi/gatsby-mdx
https://github.com/ChristopherBiscardi/gatsby-plugin-mdx

gatsby gatsby-plugin jsx markdown mdx

Last synced: 3 months ago
JSON representation

gatsby v1 mdx plugin, for gatsby v2 see https://github.com/ChristopherBiscardi/gatsby-mdx

Awesome Lists containing this project

README

        

# gatsby-plugin-mdx

this plugin is only applied to gatsby v1. for v2 please use [gatsby-mdx](https://github.com/ChristopherBiscardi/gatsby-mdx)

## Installation

```
yarn add gatsby-plugin-mdx
```

then

```
yarn add @mdx-js/mdx @mdx-js/loader loader-utils --dev
```

In your gatsby-config.js
```
plugins: ['gatsby-plugin-mdx'],

```

## Usage

Check mdx document for syntax and examples: https://github.com/mdx-js/mdx#mdx-syntax

## Example

Check `examples` folder for working examples

[Basic](https://github.com/nhducit/gatsby-plugin-mdx/blob/master/examples/basic/README.md):