Include / show note links in yaml frontmatter (v0.8.5)

you can add your custom attributes in the YAML frontmatter but:

  • They MUST be in proper yaml format.
  • If an attribute is not handled by obsidian or plugin, it will be ignored. But still has to be YAML format.
  • There is no support (yet) for adding a linked mention to another note, that is, if NoteA has this frontmatter:
---
links: [[NoteB]], [[NoteC]]
---

It will not work. NoteA will not appear as a linked mention (backlink) in NoteB and NoteC.

  • The YAML frontmatter is not scanned when searching for unlinked mentions (and probably never will be). That is, if NoteA has this frontmatter:
---
connections: [NoteB, NoteC]
---

NoteA will not appear as an unlinked mention in NoteB and NoteC.

Addendum:
I would like to add that if at some point we add support for linking other notes in the YAML block, it will be specific and limited to a YAML attribute, like related: . But it still won’t be possible to add linked mentions in other attributes.
So if this is your intent, I think you are still better off with you own frontmatter in the document and not in the YAML block.

7 Likes