Front matter and tags not working as expected

Things I have tried

Every combination of yaml and hashtags:

---
tags:
	- #zettlekasten/fleeting_notes 
---```


tags:
- zettlekasten
- fleeting_notes





### What I'm trying to do

Get my frontmatter tags to show up in the tag pane.  However none of the above items work.  This does:

tags:
- #zettlekasten/fleeting_notes

However, it doesn't have the starting triple dash, so obsidian doesn't recognize it as front matter. 
Is there something I'm missing?

Don’t use # in the frontmatter for tags. Also, frontmatter is required for the first content in a note with --- surrounding the content.

Example:

---
tags:
- zettlekasten/fleeting_notes
---
1 Like

The # in YAML marks everything after it as a comment.

It was a combination of using tabs instead of spaces, and slightly invalid custom yml I’d included above that line that caused the issue. @jwl comment helped me figure it out.