Bug 489929 - Syntax highlighting for yaml headers confused with horizontal rule
Summary: Syntax highlighting for yaml headers confused with horizontal rule
Status: REPORTED
Alias: None
Product: ghostwriter
Classification: Applications
Component: general (other bugs)
Version First Reported In: 23.04.3
Platform: Debian testing Linux
: NOR minor
Target Milestone: ---
Assignee: megan.conkle
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-07-08 14:11 UTC by Julian
Modified: 2024-07-08 14:11 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Julian 2024-07-08 14:11:26 UTC
SUMMARY
When you type up a markdown document with a yaml header, ghostwriter will show the lines just above the closing `---` as though it was the document header, bold and with bigger font.

STEPS TO REPRODUCE
Type this:

```md
---
this: is fine

this: is not fine
this: is also not
---

Main text
```

OBSERVED RESULT
The two lines above the second `---` are bold and in bigger font.

EXPECTED RESULT
Everything should have same font size, no bold.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 6.9.7-amd64 (64-bit)
(available in About System)
KDE Plasma Version: 5.27.11
KDE Frameworks Version: 5.115.0
Qt Version: 5.15.13

ADDITIONAL INFORMATION
Sorry if that has been fixed since, I did not manage to test a more recent version.