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.
- 👉 Learn how to create a Next.js blog in 5 tweets: https://twitter.com/arshadcn/status/1367888421805383683
- 🚀 What about build times? Is this fast? Yes: https://twitter.com/arshadcn/status/1372275646840279040
Learn how next-mdx works by looking at examples.
- Go to example-page
next-mdx.jsonto see the sample configuration.
pages/[[...slug]].tsxto see how MDX files are fetched and rendered.