typepress-cli

Markdown ebook template, converter and generator

npm install typepress-cli
6 downloads in the last month

Markdown book template

Prerequisites

Note that epubcheck requires the jre and the shell script wrapper epubcheck-shell requires bash.

Installation

You can install globally using npm:

npm install -g typepress-cli

Quick Start

Provided you have all the prerequisite software installed correctly you can run:

git clone https://github.com/freeformsystems/typepress-cli.git
cd typepress-cli && npm install && ./bin/tp build

All generated files are placed in the build directory.

Test

Run the tests with npm test.

Preview

To preview the generated ebooks you can use calibre.

You can preview .mobi files using calibre; OSX users may prefer to use kindleformac. If you use kindleformac then drag the .mobi file onto the application icon in the dock to preview the generated book as the application does not easily allow previewing of .mobi files not downloaded from the amazon store.

Credits

This work is derived from pandoc-ebook-template, credit to evangoer.

License

Everything is MIT. Read the license if you feel inclined.

npm loves you