> For the complete documentation index, see [llms.txt](https://ploegert.gitbook.io/til/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://ploegert.gitbook.io/til/programmy/react/allow-md-as-an-extension-with-gatsby-mdx.md).

# Allow md As An Extension With gatsby-mdx

The [gatsby-mdx](https://github.com/ChristopherBiscardi/gatsby-mdx) plugin allows you to create pages in a Gatsby project using `.mdx` files. If you prefer the `.md` extension on your markdown files, then you can adjust the plugin options to allow that.

```javascript
// gatsby-config.js
plugins: [
  {
    resolve: `gatsby-mdx`,
    options: {
      extensions: [".mdx", ".md"]
    }
  }
]
```

This tells `gatsby-mdx` to recognize both `.mdx` and `.md` extensions when processing files.
