Bug 468114

Summary: If there is front-matter in a markdown doc, it shouldn't show on the rendered page
Product: [Applications] okular Reporter: Ben P <ben>
Component: markdown backendAssignee: Okular developers <okular-devel>
Status: REPORTED ---    
Severity: normal    
Priority: NOR    
Version First Reported In: 22.12.3   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Ben P 2023-04-03 10:05:25 UTC
SUMMARY
If there is yaml (or any) front-matter in a markdown doc, it shouldn't show on the rendered page.

Frontmatter is structured text at the top of a markdown file, wrapped in two rows of `---`.


STEPS TO REPRODUCE
1. Have a .md doc with front matter 
2. Expect the front-matter to not be rendered
3. View the file in Okular, it is rendered.

OBSERVED RESULT
Front matter is rendered

EXPECTED RESULT
It should not be

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: Fedora 37, Plasma 5.27.3
(available in About System)
KDE Plasma Version: 5.27.3
KDE Frameworks Version: 5.104.0
Qt Version: 5.15.8

ADDITIONAL INFORMATION