Tags in YAML front matter WITH hash sign '#'

Is it possible (with a setting or with a plugin) to write Tags in the YAML front matter with the hash sign?

Here in example: When I want to add the tag lambda_calculus to a note, I would like to write at the beginning of my note

---
tags: #lambda_calculus
---

Is this possible? (The reason is that other tools working on the same files need the hash sign in front of a tag term to recognise it as a tag, even in the front matter.)

I saw the post Cannot follow links or tags in front-matter in edit view - Bug graveyard - Obsidian Forum discussing a similar issue, but it’s not clear to me whether a plugin can solve the hash issue.

Many thanks for any pointers!

2 Likes

The YAML format below will pass validation and work with something like Dataview, but … caveat, caveat, caveat.

---
tags: ['#tag1', '#tag2', '#tag3']
---



But YAML is being lined up for a big overhaul:



2 Likes

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