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
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
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