- A level 2 heading to start
  - Followed by a level 4
- Then a level 1
  - And another level 2
    - Then a level 5
      - Then a level 6
    - Then a level 5
      - Then a level 6
    - And then a level 3
      - Then a level 5
  - Then a level 2
    - Followed by a level 6
    - Then another level 3
      - Then level 5
      - Level 4
    - Level 3
  - Level 2
    - Level 4
- Now for some "normal" headings to test going up and down the stack
- Section 1
  - Section 1.1
    - Section 1.1.1
      - Section 1.1.1.1
        - Section 1.1.1.1.1
          - Section 1.1.1.1.1.1
        - Section 1.1.1.1.2
      - Section 1.1.1.2
    - Section 1.1.2
  - Section 1.2
- Section 2

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

###### ¶Then a level 6

##### ¶Then a level 5

###### ¶Then a level 6

### ¶And then a level 3

##### ¶Then a level 5

## ¶Then a level 2

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

### ¶Then another level 3

##### ¶Then level 5

#### ¶Level 4

### ¶Level 3

## ¶Level 2

#### ¶Level 4

# ¶Now for some "normal" headings to test going up and down the stack

# ¶Section 1

## ¶Section 1.1

### ¶Section 1.1.1

#### ¶Section 1.1.1.1

##### ¶Section 1.1.1.1.1

###### ¶Section 1.1.1.1.1.1

##### ¶Section 1.1.1.1.2

#### ¶Section 1.1.1.2

### ¶Section 1.1.2

## ¶Section 1.2

# ¶Section 2