
Create a fast and customizable personal blog using markdown files and Next.js file-based routing.
You can build a blog with Markdown and Next.js using getStaticProps and gray-matter.\r\n\r\n\r\n\r\n
ts\r\nimport matter from 'gray-matter';\r\nconst content = matter.read('my-post.md');\r\nconsole.log(content.data.title);\r\n\r\n\r\nRender markdown with libraries like remark or react-markdown.