您可以粘贴包含此工具生成的现有目录的文档,或在文档中添加一个[TOC]单行标记
# Some main title <!-- TOC START --> - [First Title](#first-title) - [Second Spaced Title](#second--spaced--title) * [Title with Link TOC](#title-with-link-toc) * [Title with code `var`](#title-with-code-var) - [Last Title](#last-title) <!-- TOC END --> <!-- TOC ANCHOR --><aname="first-title"></a>## First Title Some text <!-- TOC ANCHOR --><aname="second--spaced--title"></a>## Second Spaced Title Some text <!-- TOC ANCHOR --><aname="title-with-link-toc"></a>### Title with Link [TOC](http://sharevb-it-tools.vercel.app)``` ## some bash code echo 'test'; ``` <!-- TOC ANCHOR --><aname="title-with-code-var"></a>### Title with code `var` Some text <!-- TOC ANCHOR --><aname="last-title"></a>## Last Title