obsidiantools
obsidiantools copied to clipboard
filter out URLs before finding hashtags
why
Because URLs can have #
in them, components of URLs were getting pulled in as tags
what changes
- new constant to make it possible to identify URLs with regex
- update
get_tags
to pull URLs out of the note text before extracting tags - add URL with
#
in it to the test md that's used to testget_tags
- add test for URL removal method