1、 安装 i5ting_toc npm install -g i5ting_toc 2、 cd 到 name.md文件的目录,运行 i5ting_toc -f name.md -o 3、就会看到当前目录生成preview的文件夹,搞定 image.png