This is a template for start writing a book using Pandoc and Markdown style.
Just write your chapters markdown files in the chapters/
directory and add them in index.md
at the root directory once they are ready to be compiled.
Books metadata have to be filled into metadata.md
file, like this:
---
title: 'This is the title'
subtitle: "This is the subtitle"
author:
- Author One
- Author Two
description: |
This is a long
description.
It consists of two paragraphs
...
To compile, simply run:
$ make
This will generate your book file in the following formats:
- .html
- .docx
- .rtf
- .odt
- .epub
To re-build, you have to clean the previously built files. To do that, use:
$ make clean