Back to Journal

Setting up MDX for the journal

Spent the morning getting MDX working with Next.js 15. We went with next-mdx-remote for server-side rendering - it keeps things simple and doesn't require any webpack config.

The content lives in a /content/journal folder. Each entry is a .mdx file with frontmatter for the title and date. The slug comes from the filename.

We considered adding custom components for callouts, code blocks with syntax highlighting, all that. But we're starting simple - just markdown. We can always add complexity later if we need it.

The timeline view on the main page groups entries by month. It's minimal but works well for scanning through recent updates.