Browse Source

Update 'README.md'

天问 2 years ago
parent
commit
b7b6deb4ad
1 changed files with 16 additions and 0 deletions
  1. 16 0
      README.md

+ 16 - 0
README.md

@@ -1,5 +1,21 @@
 # gitbook
 
+```
+npm install gitbook-cli -g
+
+mkdir MyBook #新建目录
+cd MyBook    #进入目录
+gitbook init #初始化目录
+
+gitbook serve
+gitbook build
+
+npm install gitbook-pdf -g
+gitbook pdf .
+```
+
+
+
 gitbook 发布的已经多年不更新,采用社区 **gitbook-ng** 的解决方案: