Skip to content

justinsunho/gatsby-plugin-mdx

 
 

Repository files navigation

gatsby-plugin-mdx

this plugin is only applied to gatsby v1. for v2 please use 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:

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%