利用i5ting_toc将markdown转为html

from:https://cnodejs.org/topic/54663d67d1ffc608433de263

Preview

3.png

Install

npm install -g i5ting_toc

Usage

  tocmd.npm git:(master)  i5ting_toc -h

  Usage: i5ting_toc  a node npm wrapper of i5ting_ztree_toc https://github.com/i5ting/i5ting_ztree_toc 

  Options:

    -h, --help             output usage information
    -V, --version          output the version number
    -f, --file [filename]  default is README.md 
		-o, --open             open in browser
    -v, --verbose          打印详细日志

这个版本的命令比较简单,只有一个-f参数,如果没有填写,默认使用README.md,常见用法

i5ting_toc -f sample.md -o

写文档很方便哦

posted @ 2017-06-29 17:05  little_ab  阅读(484)  评论(0)    收藏  举报