Use Markdown Files in the Next.js Pages Directory Instead of React Components

InstructorJohn Lindquist

Share this video with your friends

Send Tweet

With a couple of tweaks to the next.config.js, you can begin using Markdown files which will be represented by URLs in the pages directory. With this approach, you could author an entire site using only Markdown files and sprinkling in React components inside your Markdown files where necessary.