You can find a demo version of this template right here. It is tailored for those looking to generate a blog using markdown. This was created using Create React App, styled-components, and deployed with Netlify.
Assuming that you have the necesary dependancies to start a React app:
- Run
yarn install
. - Run
yarn start
to start the app. - Edit the file
src/Data.js
in order to customize the content of your site.
- Insert your
{post-name-here}.md
file inside theposts
folder. - Edit the file
src/Posts.js
adding the necessary information, including your markdown file location, to generate your post. Theroute
and page will be generated based on what's insidePosts.js
.
Once started, open http://localhost:3000 to view it in the browser.