Hello World

Post header visuals

This is a .mdx file.

In order to display it, we added 3 packages:

  • marked: pass our .mdx file and render as HTML
  • next-mdx-remote: make our .mdx files and use them as our posts
  • gray-matter: use the metadata on the top of the .mdx file

How it's done:

  1. Put the posts in a posts folder in the root directory as .mdx file
  2. Save the images in public/posts/<file-name>
  3. Set up the blog/[slug].tsx file