Many Markdown files start with a YAML frontmatter block. Tools like Obsidian, Jekyll, Hugo, Docusaurus, MkDocs and Pandoc all use one.
OneDev doesn't recognise this block at the moment. The opening --- is rendered as a horizontal rule. The YAML lines are rendered as a paragraph, and the closing --- turns that paragraph into a large setext heading. Any repo full of notes or docs ends up with a big, meaningless "heading" at the top of every file.
This was raised before in OD-476, but only as part of a broader request about Markdown display. This issue is only about frontmatter.
Many Markdown files start with a YAML frontmatter block. Tools like Obsidian, Jekyll, Hugo, Docusaurus, MkDocs and Pandoc all use one.
OneDev doesn't recognise this block at the moment. The opening --- is rendered as a horizontal rule. The YAML lines are rendered as a paragraph, and the closing --- turns that paragraph into a large setext heading. Any repo full of notes or docs ends up with a big, meaningless "heading" at the top of every file.
This was raised before in OD-476, but only as part of a broader request about Markdown display. This issue is only about frontmatter.