5 solution docs
MDX blog solution docs
Posts are files in your repo. Reviewed in a pull request, shipped with the code.
Pick MDX blog and all 5 land in docs/solutions/blog-mdx/, next to the rules and skills that reference them.
Every MDX blog doc in the registry
Tags: app-router · canonical · feeds · fonts · image-response · mdx · metadata · nextjs · opengraph · performance · rehype · route-handlers · rss · satori · seo · shiki · sitemap · static-generation · syntax-highlighting
MDX in the App Router without shipping a compiler
next-mdx-remote compiles every post on every request. Compile at build time with @next/mdx instead, and keep frontmatter with gray-matter.
mdx · nextjs · app-router · performance
OG images that render your font, not Noto
ImageResponse has no system fonts and silently falls back. Load a static TTF from disk, and know why woff2 and variable fonts fail.
opengraph · image-response · satori · fonts
An RSS feed that actually validates
Unescaped ampersands, ISO dates and a missing atom:link are why feed readers reject your feed. Generate it as a static route with escaped text.
rss · feeds · seo · route-handlers
A sitemap and canonical URLs that do not fight each other
lastModified from new Date() teaches crawlers to ignore your dates, and a canonical built from request headers points at your preview deploys.
seo · sitemap · canonical · metadata
Syntax highlighting without a 300kb bundle
Prism and highlight.js in a client component ship a parser to every reader. Highlight at build time with a rehype plugin and ship CSS instead.
mdx · syntax-highlighting · performance · shiki