Skip to content

oroger/pandoc-markdown-book-template

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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. In static/ directory, replace contents of metadata.yml, and cover.jpg with your own content.
  3. In chapters/ directory, add you content. Use file name to order the files as shown in the example.
  4. Create your book with the following syntax below

EPUB

pandoc -S --epub-embed-font='fonts/*.ttf' -o target/book.epub static/metadata.yml chapters/*.md

Your book will be exported astarget/book.epub.

PDF

pandoc -S -o target/book.pdf static/metadata.yml chapters/*.md

Your book will be exported astarget/book.pdf.

About

A template for creating epub books from markdown using pandoc.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • CSS 100.0%