Bug 463359 - Allow HTML preview in a single pane
Summary: Allow HTML preview in a single pane
Status: CONFIRMED
Alias: None
Product: ghostwriter
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Other Other
: NOR wishlist
Target Milestone: ---
Assignee: megan.conkle
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-12-22 21:19 UTC by megan.conkle
Modified: 2024-04-22 11:12 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description megan.conkle 2022-12-22 21:19:58 UTC
Please consider allowing only HTML view in a single pane
I just learned about Ghostwriter and it looks great! Thanks for a great application!

I am for a long time looking for software, that I could call from the command line, and get a HTML preview with equations from markdown - and it looks like Ghostwrite is more than suitable.

Except, I have one minor UI problem for my use case: the default view in Ghostwriter is dual pane, with markdown source in the left, and live HTML preview in the right pane https://ghostwriter.kde.org/images/html-preview.png - which for me is the absolute best GUI setup for writing.

Also, you can turn of the HTML preview pane using the "Toggle Live HTML Preview", and thus use the entire width of the window for markdown source: https://ghostwriter.kde.org/images/mockup.png

Now, I would just like an additional "Toggle Markdown Source View" button, for when I want to just read - if disabled, it automatically enables "Toggle Live HTML Preview", and shows HTML on the entire width of the window (that is, in a single pane); if enabled, the behavior is as it is now (that is, if "Toggle Live HTML Preview" is off, entire width of the window shows Markdown source; if "Toggle Live HTML Preview" is on, dual pane with source at left and HTML preview at right is shown).

Also, since I've noticed Ctrl-F search currently works only in the left/source pane, I'd suggest that when only HTML preview is shown in a single pane, Ctrl-F should be working with the HTML preview contents instead.

Thanks again for a great application!
Comment 1 kimimaru 2024-04-22 11:12:38 UTC
+1 to this. Having just a viewer option on Ghostwriter would help to preview documents without having to export and view in another application.