nextjs-blog-starter
nextjs-blog-starter copied to clipboard
add support frontmatter for MDX files
Create a custom loader to add frontmatter support.
- https://mdxjs.com/advanced/custom-loader
- https://www.npmjs.com/package/gray-matter