Bug 466199 - Feature request: yaml metadata
Summary: Feature request: yaml metadata
Status: CONFIRMED
Alias: None
Product: ghostwriter
Classification: Applications
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Manjaro Linux
: NOR wishlist
Target Milestone: ---
Assignee: megan.conkle
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-02-21 15:56 UTC by Daniel Morgan
Modified: 2025-02-23 01:28 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
Screenshot showing YAML frontmatter formatting (81.38 KB, image/png)
2025-02-23 01:28 UTC, Nathan Upchurch
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Morgan 2023-02-21 15:56:10 UTC
Right now (version 2.1.6), ghostwriter's syntax highlighting doesn't appear to support yaml metadata blocks. Since this kind of frontmatter is now used all over the place by many different markdown parsers (hugo, jekyll, pandoc, knitr just to name a few), I think it would be great if ghostwriter could display these nicely!
Comment 1 Nathan Upchurch 2025-02-23 01:28:46 UTC
Created attachment 178756 [details]
Screenshot showing YAML frontmatter formatting

Seconding this; it currently parses the first triple dash preceding YAML frontmatter as a horizontal rule and the way things get rendered isn't great.