Bug 378223

Summary: Request: markdown preview
Product: [Applications] kdevelop Reporter: Ian H <master.haber>
Component: All editorsAssignee: kdevelop-bugs-null
Status: RESOLVED WORKSFORME    
Severity: normal CC: ashark, kossebau
Priority: NOR    
Version: 5.1.0   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: See where you can enable Preview tool

Description Ian H 2017-03-28 20:56:53 UTC
How difficult would it be to have a markdown preview in kdevelop? 

I would also love a hotkey that reformats the markdown tables so they are neat in the source code.
Comment 1 Kevin Funk 2017-03-29 09:28:18 UTC
There are actually some decent Qt libraries for Markdown previews out there, e.g.: 
  https://github.com/cloose/CuteMarkEd

Might make sense to have a KDevelop or KTextEditor (better) plugin which shows the Markdown text preview in a tool view, integrating one of these libraries. 

Nice junior job for sure
Comment 2 Friedrich W. H. Kossebau 2017-08-16 00:25:41 UTC
See https://bugs.kde.org/show_bug.cgi?id=360811#c6 for some info about work started for this.
Comment 3 Andrew Shark 2023-01-05 06:53:22 UTC
Is it released? I have discovered from [this](https://www.reddit.com/r/kde/comments/mw3sts/comment/gvg2ett/?utm_source=share&utm_medium=web2x&context=3) post that in Kate you can enable markdown preview with enabling Document Preview plugin, and in the right side you will see markdown preview button.

But what about KDevelop?
There is also a Document Preview plugin there, and it is enabled. But where is a preview view itself? Here https://github.com/KDE/ktexteditorpreviewplugin it is said that it is in Tool View for KDevelop. But where is it?
Comment 4 Andrew Shark 2023-01-05 07:05:56 UTC
Created attachment 155047 [details]
See where you can enable Preview tool

Found it. You need to right click on the bottom pane, then in the pop-up select Preview (see screenshot). Then when clicking on it in toolbar, you will see the preview in parallel with the document.