document system base on lite template
JavaScript CSS
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
guide
nodeppt
.project
filter.js
index.js
lite.xml
package.json
ppt.js
readme.md
server.js
start.js
test.md

readme.md

安装litedoc

npm install litedoc

查看文档:

var litedocDir = require.resolve('litedoc').replace(/[\w\.]+$/,'');
require('litedoc').start(litedocDir);

//一行代码直接启动litedoc 文档
node -e "var litedocDir = require.resolve('litedoc').replace(/[\w\.]+$/,'');require('litedoc').start(litedocDir);"

使用litedoc

//在当前目录下启动一个litedoc 服务
require('litedoc').start();