Skip to content

Latest commit

 

History

History
43 lines (30 loc) · 1.64 KB

README.md

File metadata and controls

43 lines (30 loc) · 1.64 KB

Pandoc mdbook template

License

Description

This repositoy is a cloned version of this simple pandoc book template with one exception:

Instead of using pandoc html generation, it use mdbook to generate nice html from markdown.

I'm using this simple template to create ebooks and tutorials for InaCode

Prerequisite

Folder Structure

my-book/         # Root directory.
|- ebook/        # Folder used to store builded (output) files.
|- ebook/        # Folder used to store mdbook output
|- src/chapters/     # Markdowns files; one for each chapter.
|- src/chapters/images/       # Images folder.
|                      |- cover.png  # Cover page for epub.
|- metadata.yml  # Metadata content (title, author...).
|- Makefile      # Makefile used for building our books.
|- book.toml     # mdbook configuration

How to use

Please check simple pandoc book template readme, for instuction how to use. I've added extra command to build mdbook html files.

make web or you can simply use mdbook build

References