Skip to content

Ignore h4 to h6 headers in document outline (or properly indent them) #1435

@jmaupetit

Description

@jmaupetit

Bug Report

Problematic behavior
When using h4 (to h6) tags in a document, the outline seems to consider them as higher level (h1?)

Expected behavior/code
h4 to h6 tags should be ignored in the document outline or properly indented.

Steps to Reproduce
Markdown content:

## Sub-Section 1

### Sub-subsection 1.1

#### sub-sub-subsection 1.1.1

## Sub-Section 2

### Sub-subsection 2.1

#### sub-sub-subsection 2.1.1

Environment

Additional context/Screenshots
Preview 🖼️

Image

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingfrontend

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions