Welcome
Thanks for opening The Papyrus Handbook. Use the sidebar to browse chapters, or continue from Introduction. The home page has the project banner, a Downloads link for PDF previews from GitHub, and links to GitHub and Packagist.
This guide is the companion for milon/papyrus — a PHP CLI that turns Markdown into PDF, EPUB, HTML, a multi-page site, and Amazon KDP exports. You are reading those same chapters as a Papyrus site.
How to use this guide
- Introduction — what Papyrus is and the project layout
- Install — Composer setup and
papyrus init - Configuration — every
papyrus.phpoption - Writing — Markdown, front matter (
pretoc,draft), asides, Mermaid, linting - Themes — PDF / HTML themes and fonts
- build — all-in-one export, watch, caches
- build:pdf / epub / html / site / sample — one chapter each (
serveis covered with site) - kdp and kdp:* — Kindle, print, covers, metadata, package
- Migration and CI — ibis-next migration and GitHub Actions
- Command reference — full CLI tables
- Downloads — light and dark PDF previews from GitHub
Copyright © 2026 Nuruzzaman Milon / Papyrus. Released under the same terms as the Papyrus project (MIT).