https://bugs.kde.org/show_bug.cgi?id=525570

            Bug ID: 525570
           Summary: The frontmatter of markdown becomes plain single-line
                    text
    Classification: Applications
           Product: ghostwriter
      Version First 26.08.1
       Reported In:
          Platform: CachyOS
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

DESCRIPTION
Ghost Writer fails to recognize the YAML front matter at the beginning of
Markdown files.
The front matter block is not parsed separately and is rendered as a single
line of plain text instead.

STEPS TO REPRODUCE
1. Create a markdown file starting with standard YAML front matter:
```markdown
---
title: Test Page
author: llm
date: 2026-09-12
---

Content here.
```

2. Open this file in Ghost Writer.

OBSERVED RESULT
In live preview mode the whole front matter block is treated as normal text and
merged into one line.

EXPECTED RESULT
Ghost Writer should correctly identify the `---` wrapped YAML front matter at
the file head, render it as front matter metadata rather than regular article
text.

SOFTWARE/OS VERSIONS
Operating System: CachyOS
KDE Frameworks Version: 6.30.0
Qt Version: 6.11.2

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to