https://bugs.kde.org/show_bug.cgi?id=406333
--- Comment #23 from Laurent Montel <[email protected]> --- (In reply to avlas from comment #22) > (In reply to Laurent Montel from comment #21) > > (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/[email protected]): > > > > > > 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. > > Sorry, I think I didn't explain myself well. I was not talking here now > about the conversion from markdown to html, but about highlighting the email > body in the composer while writing (if/when the markdown button is > activated). In that case, it would be great to see how markdown keywords > written in plain text get automatically highlighted. This would help writing > markdown emails, e.g. to better structure the email or more easily visualize > markdown typos. Ah ok. I don't know if it's possible but indeed I can look at it. > > > > 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. > > I see. That's a pity, such a feature would probably attract users, > especially KDE users using markdown-here in other email client applications > or in the browser. yep but in thunderbird they use a html editor directly... It's not possible in Qt. > > I know there is the option but never tried using an external editor for > writing emails. I assume this would not be an option for writing emails in > markdown either, right? Saying because perhaps one could use Kate for this... > > > > 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. > > Thank you! -- You are receiving this mail because: You are watching all bug changes.
