DEV Community

Discussion on: How to use Netlify as your CMS for your Gatsby blog

Collapse
 
wamaitha profile image
wamaitha

I figured out the issue. Adding this to my config worked:

extension: mdx
format: frontmatter
identifier_field: name

Collapse
 
turutupa profile image
Turutupa

Where exactly did you add that to?

Thread Thread
 
isaactait profile image
Isaac Tait

I added this snippet to my gatsbyconfig.js files:

resolve: gatsby-plugin-mdx,
options: {
extensions: ['.mdx', '.md'],
}
Example here:
github.com/renvrant/gatsby-mdx-net...