Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/johnpaulada/pandoc-markdown-book-template
A template for creating epub books from markdown using pandoc.
https://github.com/johnpaulada/pandoc-markdown-book-template
epub markdown pandoc pandoc-markdown pandoc-template template
Last synced: 8 days ago
JSON representation
A template for creating epub books from markdown using pandoc.
- Host: GitHub
- URL: https://github.com/johnpaulada/pandoc-markdown-book-template
- Owner: johnpaulada
- Created: 2017-06-28T05:33:32.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-07-13T20:47:22.000Z (over 5 years ago)
- Last Synced: 2024-08-02T15:03:29.870Z (3 months ago)
- Topics: epub, markdown, pandoc, pandoc-markdown, pandoc-template, template
- Language: CSS
- Homepage:
- Size: 2.7 MB
- Stars: 265
- Watchers: 8
- Forks: 68
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Pandoc Book Maker Template
Template for creating epub books from markdown using `pandoc`.[![forthebadge](http://forthebadge.com/images/badges/built-by-hipsters.svg)](http://forthebadge.com)
## Instructions
### Install Pandoc
#### Debian, Ubuntu, and derivatives
- With package: [pandoc-1.19.2.1-1-amd64.deb](https://github.com/jgm/pandoc/releases/download/1.19.2.1/pandoc-1.19.2.1-1-amd64.deb)#### macOS
- With `brew`:
```bash
brew install pandoc
```
- With package: [pandoc-1.19.2.1-osx.pkg](https://github.com/jgm/pandoc/releases/download/1.19.2.1/pandoc-1.19.2.1-osx.pkg)#### Windows
- With MSI: [pandoc-1.19.2.1-windows.msi](https://github.com/jgm/pandoc/releases/download/1.19.2.1/pandoc-1.19.2.1-windows.msi)### 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:
```bash
pandoc -S --toc --epub-embed-font='fonts/*.ttf' -o book.epub metadata.txt contents.markdown
```
Your book will be exported as `book.epub`.