Tags from frontmatter aren't read as tags
There's a frontmatter field called "tags" that contains an array of strings that Obsidian treats like tags created using a hashtag in the notes content. Currently obsidiantools doesn't include this information when building the tags_index. (See https://help.obsidian.md/Editing+and+formatting/Tags)
It would be great if this feature could be added.
As a workaround, I use this snippet:
front_matter = vault.get_front_matter(note)
tags = vault.get_tags(note)
tags += front_matter.get("tags", [])
Also making a note here that tags is part of the Properties feature:
For the name, you can choose anything you like. Obsidian provides several default properties:
tags,cssclasses, andaliases.
I think I'd add an argument somewhere to include the frontmatter tags by default in the tag getter and tag index output, but give the option for people to exclude those. For example, I can imagine situations where someone would only interested in the main markdown text for NLP analytics, so having an option to exclude that could be beneficial.