Is it possible to preserve metadata during sequential import and export? (like "updated" field)

Hello. I have standalone markdown file (not in Joplin, just text/plain file, which is located somewhere on the SSD and edited with a text editor) witch following content:

---
title: Example file
desctiption: Blah-blah. Blah-blah. Blah-blah. Blah-blah. Blah-blah. Blah-blah. Blah-blah. Blah-blah. Blah-blah. Blah-blah. Blah-blah. Blah-blah. Blah-blah. Blah-blah. Blah-blah. Blah-blah. Blah-blah. Blah-blah. Blah-blah. Blah-blah. Blah-blah. Blah-blah. Blah-blah. Blah-blah. Blah-blah.
updated: 2022-07-07 05:55:00Z
created: 2022-07-07 05:55:00Z
---

Hello, world!

Is it possible to do the following in sequence:

  1. Import this standalone markdown file into Joplin
  2. Make some changes to the note, which we received as a result of importing into Joplin.
  3. Export this Joplin note to the place of the standalone file. As "Markdown + Front Matter".
  4. Do NOT lose meta data from "desctiption" as a result?

I would like to ensure maximum compatibility between my standalone Markdown files and Joplin Markdown files so that I don't have to make any changes to them when I import in Joplin/export from Joplin.

For example, if I could not only change the creation/editing date in the note properties (which will be reflected as "created"/"updated" during export), but also add new metadata fields, this would solve my problem. But so far I have not found any way to achieve this. Maybe there is a plugin? Or can this be achieved with regular Joplin tools?

The frontmatter spec Joplin uses is here - joplin/interop_with_frontmatter.md at dev · laurent22/joplin · GitHub

Unless it is listed as an item the field will be ignored on import.
There is a discussion already taking place about this here - Ability to add arbitrary properties to Note Properties, and hence Markdown frontmatter

Yes, you understood me exactly right. Thus, I conclude that at the moment (07/07/22) this functionality is missing, but there is a discussion on the advisability of adding it.
Well, in that case, you can consider that there is another person who would be very happy to see this feature in Joplin.
Thank you.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.