Next MDX

Next MDX

Build MDX powered websites with Next.js

👋 Building a blog? Check out our quickstart guide here.

next-mdx provides a set of helper functions for fetching and rendering local MDX files.

It handles relational data, supports custom components, is TypeScript ready and really fast.

next-mdx is great for building mdx-powered pages, multi-user blogs, category pages..etc.


Quick Start

Learn how next-mdx works by looking at examples.

  1. Go to example-page
  2. Open next-mdx.json to see the sample configuration.
  3. Open pages/[[...slug]].tsx to see how MDX files are fetched and rendered.
  4. See types/index.d.ts for TypeScript.

© 2021 Next MDX - Project maintained by @arshadcn.