[kdepim] [Bug 406333] Markdown addon: support syntax highlighting

Laurent Montel bugzilla_noreply at kde.org
Thu Apr 18 05:53:04 BST 2019


https://bugs.kde.org/show_bug.cgi?id=406333

--- Comment #21 from Laurent Montel <montel at kde.org> ---
(In reply to avlas from comment #20)
> (In reply to Laurent Montel from comment #18)
> > Created attachment 119461 [details]
> > Screenshot
> 
> I had some ideas for further enhancement after seeing your screenshot (as
> well as this one http://25.io/mou/img/1@2x.png):
> 
> 1) It would be great if Kmail composer would use KSyntaxHighlighting
> technology as well to ease writing emails in markdown format, so it gets
> automatically enabled when the markdown button in the composer is activated.

KSyntaxHighlighting highlights only text, it can create a html code but not for
converting
markdown to html.

> 2) It would be so great to have a live preview (as shown in the link above;
> please note that Kate has already something similar to this) instead of a
> pop-up window.

We can't do it as composer is a "QTextEdit" and we need a html viewer/editor
for showing
mardown result. QTextEdit is too limited for html.

> 
> 3) It would be nice if there could be an option to remember the status of
> the Markdown button in the composer.

We can do it. I will look at it.

> 
> Please let me know if these ideas make sense and if you would like me to
> open new bug reports for them, especially points 2 and 3 above, which are
> not about highlighting.
> 
> I can easily foresee myself in the near future writing all my emails in
> markdown format instead of plain text :)

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Kdepim-bugs mailing list