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.
A YAML frontmatter entry named
headingDividercan 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:
Expected behavior: only
Test 1 classic NBSP2is shown as a heading.Actual behavior:
headingDivider: 1is also shown as a heading.