Next.js & Markdown

2023-11-01

Next.js & Markdown

Building a blog with Next.js is incredibly efficient. By using Static Site Generation (SSG), we can serve pages instantly.

The Stack

  • Next.js: The framework.
  • Gray Matter: For parsing frontmatter.
  • Remark: For converting markdown to HTML.

This setup allows you to write in simple markdown and have a performant, SEO-friendly blog.