All notable changes to Pagewright will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
pagewright build my-book.pdf— single-command full-book PDF build via WeasyPrint or paged.js-cli- Additional themes:
academic,fiction-novel,technical-reference - Per-chapter image references (
resolved against book directory)
Initial public release.
- Two-pane editor: CodeMirror 5 (markdown source) + iframe preview
- Two preview modes: continuous (scrolling HTML) and paged (true A4 layout via paged.js 0.4.3)
- Multi-chapter project model via
pagewright.yaml - Atomic file saves (temp file +
os.replace) - ETag-based conflict detection (HTTP 409 + Reload / Overwrite / Cancel dialog)
- 3× exponential-backoff retry on transient save failures
- Position-stable hot reload (heading at top of viewport stays put)
- Outline-driven navigation (click heading → cursor jumps + preview scrolls)
- Eight semantic callouts with theme-overridable labels
- Pluggable theme system:
theme.css+ optionaltheme.yaml+ optionalchapter_opener.html - Bundled
defaulttheme — clean modern paper-on-cream with ember accent - Runnable example book in
examples/sample-book/(~3,500 words across 4 chapters) - Dark mode with system-preference detection
- Zoom + fit-to-width preview controls
- Command palette (⌘K) for jump-to-chapter
- Filterable chapter sidebar (⌘/)
- Path-traversal-safe asset serving
Cache-Control: no-storeon all editor surfaces- Pip-installable with
pagewrightconsole script