← All essays

Writing in MDX

· Updated Sep 28, 2026 · 1 min read · notes

Every post here is an .mdx file in src/content/blog/. The frontmatter at the top sets the title, date, and an optional tag — everything else is regular Markdown.

Because it’s MDX, you can drop in a component when plain Markdown isn’t enough:

---
title: My post
date: 2026-10-01
---

Regular markdown works as usual, and so do **components** if you import them.

To add a new post, copy this file, change the frontmatter, and write. It’ll show up on /blog automatically, newest first.