11
Gitbook install and use - Hack Life of OpenFibers
source link: http://openfibers.github.io/blog/2019/09/14/gitbook-install-and-use/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
Gitbook Install and Use
首先安装 Node.js
https://nodejs.org/en/download/
然后安装 Gitbook
1
sudo npm install -g gitbook-cli
再安装 Calibre
Gitbook 的电子书格式转换需要调用 Calibre 的命令行工具。
1
ln -s /Applications/calibre.app/Contents/MacOS/ebook-convert ~/bin
最后切换到书的 git 目录下
1
gitbook mobi ./ ./book-name.mobi
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK