目录

#Obsidian

项目地址:
https://github.com/aidurber/obsidian-plugin-dynamic-toc

使用

使用代码块
```toc 即可生成代码块,在其中加入yaml配置即可进行配置 如: `toc
style: bullet min_depth: 4
` ```

配置

配置使用yaml进行配置

深度(depth)

允许深度不一致(allow_inconsistent_headings)

遇到缺失的深度时将自动前移,例如下文中的level 2 -> level 4:

## Level 2

#### Level 4

##### Level 5

## Level 2

### Level 3

效果:
allow_inconsistent_headings: false(default)
Obsidian_qcYn5k3ZYU.png
allow_inconsistent_headings: true
Obsidian_SDeLdlStNw.png