Tag: MDX
3 posts
Posts
Killing Split-Brain Content with One Metadata Export
How moving cover images, titles, and excerpts into MDX metadata eliminated 680 lines of duplicate records and the silent drift between them.
3 min read
Building an Auto-Generated Table of Contents with Scroll Spy
Extracting headings from rendered MDX, tracking reading position with IntersectionObserver, and adapting between a sticky sidebar and a mobile bottom sheet.
3 min read
Building a Unified Content Pipeline with Next.js and MDX
How a single content registry replaces duplicated per-type data files, cutting the cost of adding new content types from 6+ files to 3.
2 min read