如何使用kindle看代码?linux下的简单方法

作为一个kindle的超级深度用户,在看到github上的这个项目时非常开心。

项目链接:https://github.com/agentzh/code2ebook#prerequisites

只需要提前安装了perl、cablir、ctags、vim即可,

将project项目放到文件夹下,运行下面两行代码即可完成mobi书的制作。
当然,实际上KIndle支持比较好的格式依然是azw3。

./src2html.pl --tab-width 4 myproject book-title
ebook-convert html_out/myproject/index.html my-project.azw3 --output-profile kindle_pw

猜你喜欢

转载自blog.csdn.net/chenshiming1995/article/details/107996803
今日推荐