Next.js & MDX

This site runs on Next.js. Blog posts are written in MDX. I chose next-mdx-remote over the default option for three reasons:

  1. You can store posts outside of the app directory.
  2. It supports front matter and rehype and remark plugins.
  3. If I ever needed to, I could pull in posts from an external source like a remote database using server side fetch.

Please check out the GitHub repo if you'd like to learn more. Feedback welcome.

# mdx,next.js
Last updated on