ricklz

Markdown自动生成目录

使用npm语法生成

1、安装npm

我的系统是deepin,其他系统的可自行google

sudo apt install node

2、安装doctoc插件

npm i doctoc -g //install 简写 i

3、执行生成

切换到md的目录下面,执行下面的命令就能生成

$ doctoc markdown自动生成目录.md 

DocToccing single file "markdown自动生成目录.md" for github.com.

==================

"markdown自动生成目录.md" will be updated

Everything is OK.

参考

【markdown文件生成目录的方式】https://www.jianshu.com/p/b0a18eb32d09

分类:

技术点:

相关文章:

  • 2021-12-27
  • 2022-01-09
  • 2021-12-31
  • 2021-05-24
  • 2021-12-28
猜你喜欢
  • 2021-11-14
  • 2021-05-05
  • 2021-12-28
  • 2021-12-29
相关资源
相似解决方案