Frontmatter is always on top after shebang if shebang is included.
Frontmatter is between --- and --- (YAML) or +++...+++ (TOML)
Code: Select all
---
...
---Code: Select all
+++
...
+++Code: Select all
---
# Comment at beginning of line.
key: value # comment at end of line.
---Front-matter is a special thing and should look more like a foldable code-block in the preview, at least lore like code, or get fully ignored in the preview, but for sure it should not get displayed as normal markdown.
