Skip to content

getVaultTagSuggestions

Gets the tags of every note matching a query, as LinkAndTagInputSuggest and TagListComponent suggest them.

Import:

import { getVaultTagSuggestions } from '@mnaoumov/obsidian-lib/link-and-tag-input-suggest';

Signature:

function getVaultTagSuggestions(params: GetVaultTagSuggestionsParams): TagSuggestion[]

Parameters:

Parameter Type Description
params GetVaultTagSuggestionsParams The parameters.

Returns: TagSuggestion[] — The suggestions, best match first, then the most used.


Links to this page: