pandoc-markdown-book-template
pandoc-markdown-book-template copied to clipboard
A template for creating epub books from markdown using pandoc.
Pandoc Book Maker Template
Template for creating epub books from markdown using pandoc.
Instructions
Install Pandoc
Debian, Ubuntu, and derivatives
- With package: pandoc-1.19.2.1-1-amd64.deb
macOS
- With
brew:
brew install pandoc
- With package: pandoc-1.19.2.1-osx.pkg
Windows
- With MSI: pandoc-1.19.2.1-windows.msi
Create Book
- Change to this directory.
- Replace contents of
metadata.txt,contents.markdown, andcover.jpgwith your own content. - Create your book with the following syntax:
pandoc -S --toc --epub-embed-font='fonts/*.ttf' -o book.epub metadata.txt contents.markdown
Your book will be exported as book.epub.