0.0.2-4 • Published 5 years ago

@awolf81/gatsby-theme-mdx v0.0.2-4

Weekly downloads
1
License
MIT
Repository
github
Last release
5 years ago

Gatsby MDX theme

This Theme adds the MDX plugin & loads MDX files with file sytem plugin.

Installation & Usage

yarn add @awolf81/gatsby-theme-mdx

or

npm install @awolf81/gatsby-theme-mdx

Use the Theme by adding it to your gatsby-config.js file like this:

module.exports = {
  plugins: [
    {
      resolve: '@awolf81/gatsby-theme-mdx',
      options: {
        /* basePath: '/myCoolStuff' */
        /* contentPath: 'your-content-location' */
      },
    },
  ],
}

Run gatsby develop and add your first MDX file to the created docs folder. contentPath defaults to docs.

Options