repub

A tool to convert markdown documents to epub.


Keywords
markdown, epub, ebook, repub
License
MIT

Documentation

repub Build Status dependency status GitHub Crates.io

logo_2_2

markdown 文書を 電子書籍 (epub3) に変換します. cover_image

Install

まず, Rust 開発環境を整えてください.

curl https://sh.rustup.rs -sSf | sh

repubをインストール

cargo install repub

Update

cargo install --force repub

Uninstall

cargo uninstall repub

Usage

usage.mdを御覧ください.

$ repub --help
repub 0.4.0
Kaisei Yokoyama <yokoyama.kaisei.sm@alumni.tsukuba.ac.jp>
A tool to convert markdown documents to epub.

USAGE:
    repub [FLAGS] [OPTIONS] <input>

FLAGS:
        --config     設定ファイルを保存
    -h, --help       Prints help information
        --save       一時ファイルを消去しない
    -V, --version    Prints version information
        --verbose    ログを表示

OPTIONS:
    -i, --bookid <book_id>             Book ID
        --cover-image <cover_image>    表紙 / Cover image
    -c, --creator <creator>            作者、編集者、翻訳者など
    -l, --language <language>          言語
    -t, --title <title>                タイトル
        --toc-depth <toc_depth>        目次に表示するHeaderの最低レベル(1~5)
        --mode <writing_mode>          縦書き / 横書き [default: htb]  [possible values: htb, vrl, vlr]

ARGS:
    <input>    変換するマークダウンファイル OR 変換するマークダウン文書(複数可)の入ったディレクトリ OR 設定ファイル

History

https://github.com/KaiseiYokoyama/repub/releases