vrtmrz / obsidian-tagfolder

MIT License
211 stars 17 forks source link

FR: Include tags listed in frontmatter/metadata #76

Closed kisamoto closed 1 year ago

kisamoto commented 1 year ago

At the moment tagfolder seems to only pick up #tag tags within content however Obsidian also supports adding tags to metadata/frontmatter.

It would be great if tags added here were also considered and appeared under tagfolder.

To replicate, simply add the following to the top of a note in the editor:

---
tags:
  - tag1
  - foo-bar
---
kisamoto commented 1 year ago

Closing this as it was an error on my side.

YAML cannot use tabs so if using tabs to create the array of tags this is invalid and not picked up by tagfolder.

Having now fixed my syntax I can see the tags in tagfolder.

Thanks!