How to Create and Use Tags in Obsidian YAML

Add metadata of tags to Obsidian notes using YAML front matter

Image created by Amy Li using Canva.

Create Tags Metadata in YAML

---
tags: tag_name
---
---
tags: tag_name1, tag_name2
---
---
tags: [tag_name1, tag_name2]
---
---
tags:
- tag_name1
- tag_name2
---

Use the Created Tags in YAML for Obsidian Notes

---
tags:
- content_video
- content_blog
---

Leverage the Autocompletion of Tags in YAML

---
tags: " #content_video"
---
---
tags: " #content_video #content_blog "
---
---
tags: [" #content_video #content_blog "]
---
---
tags:
- " #content_video"
- " #content_blog "
---

Use Tags for Other Metadata in YAML

Screenshots by Amy Li
Screenshots by Amy Li

Use Multiple Tags for Other Metadata in YAML — Dataview Plugin Example

---
tags: [" #content/blog #content/video]
status: " #status/finished"
type:
- " #content/blog"
- " #content/video"
---
Screenshots by Amy Li
---
type:
- " #content/blog"
- " #content/video"
---

Wrap Up

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store