Bug 508854

Summary: RFE: preview should support markdown fully (in particular, styles)
Product: [Applications] ghostwriter Reporter: t0dd <t0dd>
Component: generalAssignee: megan.conkle
Status: RESOLVED NOT A BUG    
Severity: normal    
Priority: NOR    
Version First Reported In: 25.04.3   
Target Milestone: ---   
Platform: Flatpak   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description t0dd 2025-08-28 13:34:09 UTC
Want Ghostwriter to standout as an actual Markdown editor? Support the spec fully when it comes to the previewer.

Today, only the basics and html are previewed relatively accurate. What's glaringly missing is the support for <style></style> items and imported CSS. (also remember to publish the default stylings that Ghostwriter uses)

Apostrophe is a good example of a text editor that is most like Ghostwriter that has this support. It can render anything you throw at it. VSCode/VSCodium as well (though they disallow local imports). The Joplin application is more like Evernote and Obsidian, but it is a great example example of an application that can do just about anything with Markdown. I know of no editor interface superior to Joplin in this regard.

Anyway. The point: Markdown isn't just the basics. Please support the <style> block and CSS imports for rendering.
Comment 1 t0dd 2025-08-28 14:03:00 UTC
(In reply to t0dd from comment #0)
> Want Ghostwriter to standout as an actual Markdown editor? Support the spec
> fully when it comes to the previewer.

Apologies if that came across as snarky. It was not intended. Ghostwriter is a great application. I would just love to see it adopt this capability.
Comment 2 t0dd 2025-08-28 14:25:58 UTC
(In reply to t0dd from comment #0)
> Support the spec fully when it comes to the previewer.

AH HA! I was wrong!

I have to set the previewer to Pandoc Commonmark, and shazam!, all is well.

Thank you for your patience if you have read this already. ;)

NOTABUG