Template for creating epub books from markdown using pandoc
.
- With package: pandoc-1.19.2.1-1-amd64.deb
- With
brew
:
brew install pandoc
- With package: pandoc-1.19.2.1-osx.pkg
- With MSI: pandoc-1.19.2.1-windows.msi
- Change to this directory.
- Replace contents of
metadata.txt
,contents.markdown
, andcover.jpg
with 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
.