i5ting_toc__tree

https://github.com/i5ting/i5ting_ztree_toc 是去哪儿网前段架构师狼叔编写的一个jQuery插件,用于将markdown 转化为带样式的html字符串,i5ting_toc是node环境下的实现工具,用于直接将markdown文件转化为网页,在浏览器打开 。

i5ting_toc

安装

使用方式非常简单,首先在全局安装 。

npm install i5ting_toc -g

使用

首先编辑markdown 文件
使用i5ting_toc 预览 markdown 文件

之后cd到markdown目录下,运行

i5ting_toc -f index.md

在.md 目录下回发现preview 文件夹,打开html文件即可 ,如图。
使用i5ting_toc 预览 markdown 文件

细节

下面是命令参数详解

    -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          打印详细日志

相关文章:

  • 2022-12-23
  • 2021-09-26
  • 2021-10-18
  • 2022-12-23
  • 2022-12-23
  • 2021-09-20
  • 2021-05-25
  • 2022-12-23
猜你喜欢
  • 2021-06-18
  • 2022-01-18
  • 2021-09-01
  • 2022-12-23
  • 2021-05-22
  • 2021-06-17
  • 2022-12-23
相关资源
相似解决方案