Migrate to Netlify Today

Netlify announces the next evolution of Gatsby Cloud. Learn more

ContactSign Up
Community Plugin
View plugin on GitHub

gatsby-mdx

gatsby-mdx is the solution for MDX and Gatsby Gatsby for ambitious projects.

Installation

npm install gatsby-mdx
module.exports = {
  plugins: [`gatsby-mdx`]
};

Without any options, this configuration will allow you to create pages with .mdx files in src/pages and will process any Gatsby nodes with Markdown media types into MDX content.

What Next

You can

© 2023 Gatsby, Inc.