/pandoc-markdown-book

A template for creating epub books from markdown using pandoc.

Primary LanguageCSS

Pandoc Book Maker Template

Template for creating epub books from markdown using pandoc.

forthebadge

Instructions

Install Pandoc

Debian, Ubuntu, and derivatives

macOS

  • With brew:
brew install pandoc

Windows

Create Book

  1. Change to this directory.
  2. Replace contents of metadata.txt, contents.markdown, and cover.jpg with your own content.
  3. 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.