Pollen: the book is a program
A book-publishing system written in Racket. This is the software I use to publish & maintain my web-based books Beautiful Racket, Practical Typography, and Typography for Lawyers.
If you think documents should be programmable, you’ll love it.
If not, you can move along.
Pollen gives you access to a full programming language (Racket) with a text-based syntax that makes it easy to embed code within your documents.
- Quick tour
- Pollen as a text preprocessor (for CSS, etc.)
- Pollen for Markdown authoring
- Pollen for free-form markup authoring
- Pollen for multiple-output publishing
- Full docs
Using Racket 6.3+, install from the command line:
raco pkg install pollen
And update like so:
raco pkg update --update-deps pollen
Official forum: https://forums.matthewbutterick.com/c/pollen/
License
MIT
Project status
Actively developed, though the pace has slowed now that Pollen is arguably feature complete and stable. I use it almost every day so it's not going anywhere. But I have no plans to substantially enlarge or extend it.