Skip to content

OndrejNepozitek/nextjs-mdx-toc

Repository files navigation

NextJS MDX ToC

This is a Next.js project that shows how to add a Table of Contents (ToC) section to a Markdown (MDX) page.

You can see this repo running live on https://nextjs-mdx-toc.netlify.app/.

Getting Started

First, run the development server:

npm run dev
# or
yarn dev

Open http://localhost:3000 with your browser to see the result.