i5ting_toc 是把markdown编译成带有toc目录的html的node模块

i5ting_toc 是把markdown编译成带有toc目录的html的node模块

i5ting_toc

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

npm version

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

猜你喜欢

转载自blog.csdn.net/adsadadaddadasda/article/details/80702490
toc