Menu

#2841 Markdown editor and viewer for attachments

KeePass
open
nobody
Markdown (3)
5
2023-09-27
2023-09-22
No

Dear readers,

As a fervent user of Keepass, I would like to request a change that has benefits for most users that use editable attachments.

I use Keepass not only for passwords, but also important list that needs to be edited from time to time. Some examples are:

  • Makita powertools that I have with their serial numbers and purchase date
  • Book list with their ISBN numbers
  • Introduction text if something happens to me and my girlfriend has to go to my Keepass database, then it would be nice if I can explain some things (via file/attachment/text) how it is stored in Keepass.
  • Contacts-list, if something happens to me as stated above, who needs to be contacted. This includes a lot of personal information that I don't want to store outside of Keepass
  • Etcetera...

You can discuss whether this information belongs in Keepass or not, my argument is that I have now one file that needs to be synced and I have everything in place, secure and encrypted. No hassle with other programs etcetera.

Current situation
In Feature Request 1968 it was suggested to use pdf as an attachment for a formatted document.
This can be possible if the file should not to be changed over time. If the file should be editable then this is not an option because you would need to store the editable file (e.g. for Word or Open Office) and export it each time to the PDF to store it in Keepass.

Another option was to use custom fields. This is also insufficient if you want to work with some larger list options or a table-format.

Currently you can use .rtf filetype, but also that has some shortcomings to this, for example:

  • Bulleted list and numbered list
  • Tables
  • Links

Another (and the last) option is to create an .html file. It has possibilities to create lists/tables/links but is hard to read. A lot of overhead especially with tables.
Keepass has for .html files an internal viewer, but no internal editor (it is greyed out) which is difficult to edit those same files.

Desired situation
Markdown.

I know that it was asked 8,5 years ago in Feature Request 1968, but I would like to ask to reconsider the implementation about this. It is an open file format which is a good fit for Keepass.

Thank you for the time and effort for reading this. Hopefully we will see an implementation of the above ;).

Gr. Vincent

(PS Ticket creation is styled by Markdown)

Discussion

  • keepassuser1989

    keepassuser1989 - 2023-09-22

    I don't know if this belongs to the group KeePass or KeePass_2.x.
    In the end it would be nice if the functionality is implemented for KeePass_2.x.

    Gr. Vincent

     
  • Paul

    Paul - 2023-09-22

    RTF is more than enough for tables and lists and support is built-in. And the editor has easy icon access to formatting.

    I also store things like equipment model, serial, warranty etc. I only use custom fields for these and have not found a need for attachments.

    cheers, Paul

     
  • keepassuser1989

    keepassuser1989 - 2023-09-26

    Hello Paul,

    Thank you for the reply.

    Perhaps I don't have enough know-how about .rtf formatting, but from my understanding this does not work in Keepass. I am not able to create the following:

    • An ordered or generic list
    • second item
    • third item

    And a:

    1. Numbered list
    2. second item
    3. third item

    A table like the following:

    Header 1 Header 2 Header 3
    Cell A1 Cell B1 Cell C1
    Cell A2 Cell B2 Cell C2

    The only options that are available are:

    • Font
    • Font size
    • Bold/Italic/Underline/Strikeout
    • Text and background colour
    • Alignment

    Of course you can add 1. in front of the list, but that is nothing more than numbers including the dot with a return in it. The same goes for the * for an unordered/generic list.
    For tables idem ditto, if you have an extensive list and you want to add a column then you have to change all the entries too.

    I also store things like equipment model, serial, warranty etc. I only use custom fields for these and have not found a need for attachments.

    If I may continue about this part: I have 23 Makita power tools (including batteries), each of them has:

    1. Model number, like GA9050R
    2. Production date (useful for batteries since they have a certain lifespan)
    3. Expiration date of the warranty
    4. Friendly / generic name for me

    The Entry strings can contain only a name and a value. But I should create (23x4=)92 entries for storing this information whereas a table is the perfect tool for the job?
    Adding or editing these string fields is not the proper way to do that. I know it is possible, but this is not a solution, it is a workaround.

    Again I would kindly ask to reconsider in the team for the option to support Markdown in Keepass.

    I am not the only one if I continue to search on the internet for Markdown support:

    Please see also the popularity of Rich Text Format and Markdown on Google Trends: https://trends.google.com/trends/explore?date=all&q=Markdown,Rich%20Text%20Format&hl=nl

    Gr. Vincent

     

    Last edit: keepassuser1989 2023-09-26
  • Paul

    Paul - 2023-09-26

    It's a lot of work to include your request and our very small team (1) doesn't have the time to add everything that people want.

    If you must have those features, attach a document / spreadsheet.

    cheers, Paul

     
  • wellread1

    wellread1 - 2023-09-26

    If you have a markdown editor that is associated with a file extension, KeePass will open and edit these attachments with the associated markdown editor. The process for editing and re-importing is a tiny bit more cumbersome than having a built in viewer/editor, but quite workable. See https://keepass.info/help/base/security.html#secattach for security information about working with attachments in KeePass.

     

    Last edit: wellread1 2023-09-26
  • keepassuser1989

    keepassuser1989 - 2023-09-27

    Ok all clear, thank you for the fast response(s)!

    For anyone who has the same problem. You can use Zettlr for edit Markdown files. It is free, privacy friendly and open source.

     
    👍
    1

    Last edit: keepassuser1989 2023-10-12

Log in to post a comment.

MongoDB Logo MongoDB