Once we have separated the front-matter from the rest of the markdown document, we can proceed to convert it to HTML, for then finally render it with our Next.js page component. In this lesson we use next-mdx-remote
to parse the markdown string into HTML and we learn how to leverage the MDXRemote
component to include it into our page component.
Prefer to read along as well? Here's the accompanying article.