If you’ve ever wanted to publish your own ebook, but weren’t sure how, I’ve open sourced my ebook boilerplate.
All of my pocket guides are written in markdown.
My ebook boilerplate is a command-line script that uses Pandoc, wkhtmltopdf, and Calibre to compile all of the files, syntax highlight code snippets, and automatically generate all of the file formats.
- MOBI (for Kindles and such)
It also optionally compiles all four files into a handy zip file for easy distribution.