Skip to content

My blog where I try to share my experiences on all interesting topics.

License

Notifications You must be signed in to change notification settings

mrouhi13/thiswayyoufools

Repository files navigation

This Way, You Fools

Aug. 2018

This is my blog where I try to share my experiences on all interesting topics.

A statically generated blog using Next.js, Markdown, and TypeScript

The blog posts are stored in src/_posts as Markdown files with front matter support. Adding a new Markdown file in there will create a new blog post.

To create the blog posts I use remark and remark-html to convert the Markdown files into an HTML string, and then send it down as a prop to the page. The metadata of every post is handled by gray-matter and also sent in props to the page.