next-md-blog
Markdown blog on Next.js
A single-locale demo: file-based posts, great typography, and sensible defaults you can ship or fork.
Markdown + frontmatter
Author in .md with YAML metadata; content stays in git.
App Router routes
Dynamic /blog/[slug] and listing pages with static generation.
SEO-ready
Metadata helpers, JSON-LD, sitemap, and Open Graph images.
Type-safe API
Typed post loaders and config from @next-md-blog/core.
Typography
Prose styling via Tailwind Typography for readable long-form.
Light & dark
Theme toggle with system preference via next-themes.
Quick start
Wire the library into your own app in a few steps
- Install:
npm install @next-md-blog/core - Scaffold:
npx next-md-blog-init - Add posts under
posts/ - Routes resolve at
/blog/[slug]