Releases: Mavengence/pagewright
Releases · Mavengence/pagewright
v0.1.0 — initial release
First public release of Pagewright.
A local-first book editor for Markdown — CodeMirror on the left, true paged A4 preview on the right via paged.js. Multi-chapter project model. Atomic saves with ETag conflict detection. Position-stable hot reload.
What's in 0.1.0
- Two preview modes (continuous + paged.js A4)
- 1.5 s autosave + atomic writes (temp file + os.replace)
- ETag-based conflict detection with Reload / Overwrite / Cancel dialog
- 3× exponential-backoff retry on transient saves
- Outline-driven navigation (heading click → cursor jump + preview scroll)
- Eight semantic callouts with theme-overridable labels
- Pluggable theme system (theme.css + optional theme.yaml + optional chapter_opener.html)
- Bundled
defaulttheme — clean modern paper-on-cream - Runnable example book in
examples/sample-book/ - Dark mode (auto / light / dark)
- Command palette (⌘K), filterable sidebar (⌘/), keyboard shortcuts throughout
- 68 pytest tests, CI on Python 3.10 / 3.11 / 3.12
Install
git clone https://github.com/Mavengence/pagewright
cd pagewright
pip install -e .
pagewright examples/sample-bookPyPI publication is on the roadmap.