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/.
First, run the development server:
npm run dev
# or
yarn dev
Open http://localhost:3000 with your browser to see the result.