There is a YAML block at the beginning, then some Markdown text is following, inside the text is a YAML codeblock with a copy of the active YAML Block of the Markdown file, the Codeblock contains YAML comments, RJ TextEd does show the YAML comments in a Markdown file as Headings, even if they are fenced in a YAML-codeblock.
Code: Select all
---
title: Some File Title
# Comment in funktional YAML on top of file.
someOption: after the line comment
---
# Markdown after Frontmatter
some text with YAML example that has no functional meaning in Markdown.
```YAML
---
title: Some File Title
# Comment that turns in code-explorer into an title
someOption: after the line comment
---
```
Some text that gets placed under "# Comment that turns in code-explorer into an title" in code explorer, instead of under "# Markdown after Frontmatter" where it should be by Markdown logic.
Code: Select all
# Markdown after Frontmatter
# Comment that turns in code-explorer into an titleCode: Select all
# Markdown after Frontmatter