Bug 378223 - Request: markdown preview
Summary: Request: markdown preview
Status: RESOLVED WORKSFORME
Alias: None
Product: kdevelop
Classification: Applications
Component: All editors (show other bugs)
Version: 5.1.0
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-03-28 20:56 UTC by Ian H
Modified: 2023-01-05 07:07 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
See where you can enable Preview tool (330.13 KB, image/png)
2023-01-05 07:05 UTC, Andrew Shark
Details

Note You need to log in before you can comment on or make changes to this bug.
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.