ITeye博客

code2ebook

chuqingq · 2015-01-18 17:57 · DevEnv · 开源软件 · Markdown

name=xxx

 

## sudo apt-get install ctags

 

## get `src2html.pl`: https://github.com/agentzh/code2ebook

 

src2html.pl --color --cross-reference --line-numbers . $name

 

## sudo apt-get install calibre

 

ebook-convert html_out/index.html $name.epub \

    --output-profile ipad3 \

    --no-default-epub-cover \

    --output-profile kindle_dx \

    --title "$name" --publisher agentzh \

    --language en --authors agentzh

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。