Export relations data in Markdown as YAML frontmatter

it would be nice if relations and properties could be included in frontmatter.

currently this missing feature has also consequences for built in types like bookmarks. it’s not possible to do a reasonable markdown export at the moment.

this is how standard notes does it:

there we have an explanation that some elements don’t translate 1:1 (but the content at least gets carried over).

and there is an option for including frontmatter which results in this:

---
title: Montag, 5. Mai 2025 at 16:21
created_at: 2025-05-05T14:21:53.848Z
updated_at: 2025-05-05T14:21:55.224Z
uuid: sklaudfgaeior7fgaisdugf
---

the anytype export could additionally export every relation this object has as text.

users should not rely on third party tools to export their data to a standardized format.