+ 我要发布
我发布的 我的标签 发现
浏览器扩展
斑点象@Edge

visual studio code的markdown生成侧边栏目录

1,安装扩展 Markdown Preview Enhanced 2,设置 Enable Script Execution 3,设置md文件头部 在md文件头部输入以下内容,注意缩进 (头部文件规则说明前点击这里) html: toc: true toc_depth: 6 toc_float: true collapsed: false smooth_scroll: true 4,通过MPE生成html 如果生成的html文件没有展开目录,点击html页面左下角的图标即可。
我的笔记