# TODO: add examples, dog strings
markdown.obsidian.tags
Functions for Obsidian tags
to_tag_str
to_tag_str (tag_name)
tag_without_hashtag
tag_without_hashtag (tag)
tag_is_auto_tag
tag_is_auto_tag (tag)
strip_auto_from_tag
strip_auto_from_tag (tag, with_hash_tag:bool=True)
Returns the tag without the '_auto/'
prefix.
This will essentially return the same tag if the tag does not have the '_auto/'
prefix to begin with.
Parameters - tag - str - with_has_tag - bool - If True
, returns a str with a hash tag '#'
in front. Defaults to True
.
'#_auto/definition', False) strip_auto_from_tag(
'definition'