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