- - A level 2 heading to start

    - - Followed by a level 4

- Then a level 1

  - And another level 2

    - - - Then a level 5

    - And then a level 3

      - - - Followed by a level 6

    - Then another level 3

      - Then level 4

    - Level 3

  - Level 2

    - - Level 4

- Level 1

Here's a sample Markdown document with weird headings

## ¶A level 2 heading to start

#### ¶Followed by a level 4

# ¶Then a level 1

## ¶And another level 2

##### ¶Then a level 5

### ¶And then a level 3

###### ¶Followed by a level 6

### ¶Then another level 3

#### ¶Then level 4

### ¶Level 3

## ¶Level 2

#### ¶Level 4

# ¶Level 1