Skip to content

gabrielperales/reblog

Repository files navigation

REblog

Won't be cool to have a static blog written in ReasonML? So this is a proof of concept to achieve that using Reason React, Parcel and some Parcel plugins to load markdown files and also for generating those static files.

Things to improve

  • Add syntax highlight for code blocks inside posts
  • Prerender css
  • Code splitting
  • Navigation between articles
  • Navbar/navigation menu
  • Add a way to add custom pages (about, concat, ect...)
  • Pagination
  • Show latest post on index
  • Progressive image loading / automate thumbnail creation?

Install dependencies

npm install

Build production static files

npm run build

This command produces the production build, it will be placed inside the /dist folder.

Run in development mode

npm start