Welcome
Thanks for opening The Papyrus Handbook. Use the sidebar groups 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. On chapter pages you will also see On this page, code Copy, Copy as Markdown, Print this page, and Edit this page linking back to this Markdown on GitHub.
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 — ibis-next migration
- CI for documentation — Composer and PHAR workflows for GitHub Pages
- 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).