Skip to content

pandoc and mdbook template to convert markdown into ebook & html

License

Notifications You must be signed in to change notification settings

adisetiawan/pandoc-mdbook-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

pandoc and mdbook template to convert markdown into ebook & html

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published