Skip to content

v0.10.0

Choose a tag to compare

@sazardev sazardev released this 16 Jul 17:47
· 23 commits to master since this release

What's new

Multi-format build (--format pdf,epub)

  • build now accepts --format (pdf, epub, or pdf,epub) to produce one or both outputs in a single run
  • Chrome only required when PDF is in the format list — EPUB-only builds skip Chrome entirely
  • Output paths are inferred from --out extension when a single format is used, or derived as a base name for multi-format

EPUB theming (same theme system, reflowable output)

  • Themes now produce EPUB-ready CSS via a new reflowable base stylesheet (relative units, no @page/print-only rules)
  • Every built-in and custom theme works for EPUB without modification
  • The epub command now accepts --theme, --css, --color-*, --font-*, --density, --allow-network-fonts
  • EPUB CSS uses the same --pdf-* custom property contract as PDF output

Cover image expansion

  • SVG cover images: dimensions extracted from width/height attributes or viewBox (supports px, in, cm, mm, pt, pc)
  • WebP cover images: decoded via golang.org/x/image/webp
  • EPUB also accepts SVG covers

Custom paper sizes

  • Parse custom dimensions like 6x9in, 152.4mm x 228.6mm, 6x9 (inches default)
  • Enables trade-paperback and non-standard trim sizes without manual CSS overrides

Changelog

  • chore: relocate caveman skills to .agents and lock skill versions
  • feat: parse custom paper dimensions (6x9in, 152.4mm x 228.6mm)
  • feat: support SVG and WebP cover images
  • feat: add multi-format build with EPUB output and theme support
  • docs: update CLI reference and bump version to v0.10.0