My code journey


October 22, 2019

This is a post showing MDX in action. This starter now comes with MDX out-of-the-box!

// you can write JSX in your Markdown!

Custom components

You can also import custom React components locally. Make sure gatsby-plugin-root-import as relative paths will not work.

// Import custom component
import Button from "src/components/button"


MDX lets you write JSX embedded inside markdown, perfect for technical blogs. MDX works with Gatsby through gatsby-plugin-mdx. You can learn more about it in the Gatsby docs: Getting Started with MDX.

My name is Pascal Witzig, and I'm a Full Stack Web Dev working with Follow me on Twitter

© 2020 Pascal Witzig —— Made in ZRH, Switzerland.