Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
make ebooks from markdown files
Ruby Python
Tree: 5cd9a79950

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
bin
features
lib
templates
.gitignore
.travis.yml
Gemfile
LICENSE
README.rdoc
Rakefile
mkbok.gemspec

README.rdoc

`mkbok` - make book using markdown

Author

Larry Cai (larry.caiyu@gmail.com)

Copyright

Copyright © 2012 by Larry Cai

License

Distributes under the Apache License 2.0, see LICENSE in the source distro

This application generate ebooks (.pdf,.epub,.mobi) from markdown plaintext files

Install

Install:

gem install mkbok

Usage

Create new project:

mkbok --generate sample # generate new book template based on kaiyuanbook
mkbok --build # needs pandoc,XeTex packages

For more help:

mkbok --help

Todo

Build over web

mkbok build --web http://mkbok.com/diy # it will zip file and upload to web
mkbok build --web http://mkbok.com/ --source http://github.com/larrycai/mkbok # generate pdf from github

Developing for `mkbok`

First, install bundler:

gem install bundler

Get the development dependencies

bundle install

Most of the code is in `mkbok.rb`.

Something went wrong with that request. Please try again.