# Setup MDX pages within Gatsby
MDX is markdown for the component era.
Write markdown with embedded React components.
Awesome 🤯
This recipe installs and configures all
the necessary NPM packages & Gatsby Plugins
to enable auto-creation of MDX pages within
src/pages.
This recipe:
---
Installs NPM Packages.
---
Adds `gatsby-source-filesystem` to read the MDX files in the src/pages
directory.
---
Adds `gatsby-plugin-mdx` to convert MDX files to pages.
---
Adds an example MDX page for you to play with.
---
Once you've installed this recipe, you can start writing MDX pages on your Gatsby site.
Once this recipe is installed, try editing the `test-mdx.mdx` file as well as adding your own file.
Read more about MDX at https://mdxjs.com/.