Skip to content

v1.0.0

Choose a tag to compare

@AndyWang505 AndyWang505 released this 29 Nov 15:05
1143843

The first release of Chapter, a three-column Astro theme for long-form technical posts and series, with first-class CJK typography. The theme is extracted from the design of my personal blog, andywangtw.dev.

Demo: https://astro-theme-chapter.vercel.app

Features

  • Chapters: every ## heading is a numbered chapter, mirrored in a sticky table of contents with reading progress
  • Series: posts sharing a series tag list every part, on each post and on the home page
  • Layout: three columns (categories and tags, post, chapters) that collapse to two and one on smaller screens
  • CJK typography: self-hosted Noto Sans TC, CJK-aware reading time, CJK tags and categories in URLs
  • Code: Expressive Code with github-light and Tokyo Night themes, titles, terminal frames, highlighted lines, diffs and collapsible sections
  • Writing: MathJax, tables, footnotes, image zoom, drafts
  • Site: archive with a yearly topic chart, ⌘K search, light and dark mode, page transitions, RSS, sitemap, Open Graph and JSON-LD
  • Customizing: settings in src/config/, every interface string in src/config/ui.ts, design tokens in src/styles/tokens/

Requirements

  • Node.js 22.23.4 or later
  • pnpm 12 (corepack enable)

Getting started

pnpm create astro@latest --template AndyWang505/astro-theme-chapter

See the README for configuration and deployment.

Full Changelog: https://github.com/AndyWang505/astro-theme-chapter/commits/v1.0.0