It'd be great to have support for previewing Markdown in the Notes section for added formatting. One could possibly have a UI similar to GitHub where you have "Write" and "Preview" tabs to toggle between. cmark could be used as the Markdown interpreter, and QtWebEngine could be used as the previewer (or use native Windows and macOS web controls wrapped in Qt).
In KeePass I am able to add formatting in the notes with HTML Tags like <b> or <u>.
Here an example from KeePass (when I edit the entry):

In the "Entry View" of KeePass (that is shown below the list of password) this formatting is displayed correctly:

In KeePassXC the formatting is missing:

So for former KeePass users (that switched from KeePass to KeePassXC) it would be nice if the HTML formatting is displayed correctly.
If you decide to use markdown (what is more modern) I have no problems adjusting my password entries (105 entries use <b> but I would adjust this manually).
Qt 5.14 introduced native markdown support in html document fields.
https://wiki.qt.io/New_Features_in_Qt_5.14
Qt Widgets
QTextEdit and QTextBrowser now support Markdown format (CommonMark and GitHub dialects) as an alternative to HTML.
Includes the GitHub checklist extension, such that you can click to toggle checkboxes if the widget is editable.
QTextBrowser::setSource() detects Markdown based on the file extension.
Thank you for planning this in 2.6.0 ;-)
Hi!
I decided to contribute to open source and solve this issue.
Current work can be seen in my fork.
Qt supports documents with both Markdown and HTML used together.
However there are several pitfalls.
Sorry if I ask this stupid question:
Will we have HTML (#4228) or Markdown (#1057) syntax support in the notes?
We will have both once Qt fixes their bugs. Markdown gets converted to HTML and you can add your own HTML inline with markdown.
Cool, so I don't have to change my existing HTML tags in the comments.....
In this context, would it be a possible addition to allow referencing of entries / attributes using some kind of url?
<a href="keepass://group/to/entry/attribute:line">a reference to my other entry</a>
Possible yes, that would be handled by an internal url handler. Good idea!
In this context, would it be a possible addition to allow referencing of entries / attributes using some kind of url?
<a href="keepass://group/to/entry/attribute:line">a reference to my other entry</a>
This would be a nice feature....
It's been floating in my head for a while, good to hear positive response! Should I make a separate issue?
Yes please
@networkException And please link the new issue here, so I can subscribe it.
Thank you very much!
Alright I made a feature request with some examples how the sceme could look like #5369
Most helpful comment
Hi!
I decided to contribute to open source and solve this issue.
Current work can be seen in my fork.
Qt supports documents with both Markdown and HTML used together.
However there are several pitfalls.
One way to solve that is to replace plaintext line breaks with HTML/Markdown line breaks when displaying notes, but that makes markup a bit different from pure HTML/Markdown. In such way it is done in KeePass.