HonKit
Honkit is a command line tool for building beautiful books using GitHub/Git and Markdown (or AsciiDoc).
Plugins
Plugins are the best way to extend HonKit functionalities (ebook and website).
For more details, see Templating.
Templating
HonKit uses the Nunjucks templating language to process pages and theme's templates.
For more details, see Templating.