Skip to content

Detect tags listed in note front matter. - #61

Open
mrbloopbloop wants to merge 1 commit into
mfarragher:mainfrom
mrbloopbloop:main
Open

Detect tags listed in note front matter.#61
mrbloopbloop wants to merge 1 commit into
mfarragher:mainfrom
mrbloopbloop:main

Conversation

@mrbloopbloop

Copy link
Copy Markdown

Problem to Solve

When using obsidiantools to query a vault, tags that were listed in the front matter were omitted from Vault.tag_index.

Solution

The solution was to add a second pass of "tag gathering" to get_tags.
Testing showed no new failed test or new errors after changes.

Summary of Changes

  • Added '_get_tags_from_front_matter' function.
  • Modified 'get_tags' to use '_get_tags_from_front_matter'.
  • Added check for unique tags in 'get_tags'

- Added '_get_tags_from_front_matter' function.
- Modified 'get_tags' to use '_get_tags_from_front_matter'.
- Added check for unique tags in 'get_tags'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant