This book is written in a modified version of Markdown, processed by Redcarpet using a system I created called Bookdown. It allows me to write text and code together, such that when the Markdown source is processed, the code examples execute. It's sort of like a reverse of literate programming. The source content is hosted on GitHub.
The headers are set in Avenir Next, defaulting to the system sans-serif if Avenir is not available. The body text is set in Baskerville, falling back to Georgia, then Times, then the system serif font.
Code is set in Courier with syntax highlighting provided by highlight.js.
Interestingly, I didn't use Webpack or Tachyons for any of this. Tachyons isn't suited well if you don't control the markup, because you don't have access to the entities to add
Thanks for reading!