Must be missing something obvious with YAML tags

What I’m trying to do

Add a tag to a note using YAML

Things I have tried

I have this code immediately below the note title, but aaa does not show up as a tag

---
tags:aaa
---

Switching to view mode does not generate any YAML errors.
Restarting Obsidian didn’t help.
#aaa in the body of the text works exactly as expected.

Does anyone have any idea what I’m doing wrong?

TIA

You need a space after the colon:

---
tags: aaa
---
1 Like

Thanks very much, works like a charm with the space after the colon

1 Like

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