Skip to content

Navigation panel shows frontmatter headingDivider as heading #3657

Description

@pbek

A YAML frontmatter entry named headingDivider can be shown as a heading in the navigation panel when it is followed by the closing --- delimiter. The navigation parser treats the frontmatter line as a Setext heading because the delimiter looks like a Setext H2 underline.

Example note:

---
title: non breaking space test
headingDivider: 1
---

# Test 1 classic NBSP2

text

Expected behavior: only Test 1 classic NBSP2 is shown as a heading.

Actual behavior: headingDivider: 1 is also shown as a heading.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions