YAML frontmatter in Markdown files #3305
Peter Lerche opened 1 hour ago

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.

1/1
Type
Enhancement
Priority
Normal
Assignee
Labels
No labels
Issue Votes (0)
Watchers (2)
Reference
OD-3305
Please wait...
Connection lost or session expired, reload to recover
Page is in error, reload to recover