Aidurber / obsidian-plugin-dynamic-toc

An Obsidian plugin for creating Tables of Contents that stay updated with your document
MIT License
269 stars 41 forks source link

[TOC] render incorrect in preview mode #73

Closed ttionya closed 2 years ago

ttionya commented 2 years ago

In preview mode, as long as theheading is not continuous, the [TOC] hierarchy does not seem to work properly.

Please see the picture below, it is very visual.

[TOC]

# Example H1

### Heading H3

#### Heading H4

1

[TOC]

# Example H1

## Heading H2

### Heading H3

#### Heading H4

2

Version: v0.15.9

ttionya commented 2 years ago

Sorry, I didn't read the document carefully before.