Simple static blog using markdown and Next.js
- Install dependencies npm install
- Run dev server npm run dev
- Build for prod and export static website npm run build
- Next.js Static Side Generation
- use
getStaticPropsandgetStaticPathsto implenent Dynamic Routes.
- use
- gray matter – Parses front-matter from markdown files.
- marked – Compiles markdown into HTML.
- highlight.js – code syntax highlighter