/nextjs-blog-sample

Minimum scaffold of blogging system with Next.js

Primary LanguageJavaScriptMIT LicenseMIT

nextjs-blog-sample

Minimum scaffold of blogging system with Next.js using in ganow.me. Detailed explanation is summarized in ganow's blog (written in Japanese only).

The system realizes

  • server-side rendering of articles written in Markdown format.
  • fast and clear math typesetting by KaTeX.
  • syntax highlighting by highlightjs.org.

Usage

You can edit your own article while checking the rendering result interactively by executing commands below at the project directory.

$ npm install
$ npm run dev

This system renders and displays /static/articles/{:03d}-xxx-yyy-zzz.md when visitor accessed to /articles/xxx-yyy-zzz.