Use case or problem
Sometimes I’d like a quick link to a #hashtag, but I don’t want that particular note to be included in the #hashtag.
For example:
- I have #dailyNotes and I have #weeklyNotes
- I would love to have a link to #weeklyNotes within my #dailyNote template so that I can quickly jump to my #weeklyNotes. But I do not want my #dailyNotes to be a part of the #weeklyNotes #hashtag.
Proposed solution
I think both of these could work nicely:
- Support for opening hashtags in URL Scheme:
- something like:
obsidian://open-hashtag?vault=some-vault-name&hashtag=some-hashtag
- This would open a search with the term
tag:#some-hashtag
i.e. it would behave just like clicking a #hashtag link already works.
- something like:
- Support for hashtags in [[wiki links]]
-
#myHashtag
means this note is a note under#myHashtag
-
[[#myHashtag]]
means this is merely a link to#myHashtag
and this note is NOT a note under#myHashtag
-
Current workaround (optional)
- Create a new note with the same name as your hashtag (minus the
#
since it doesn’t seem like#
can be in note names). Like:[[myHashtag]]
- Add that same hashtag to that note. Like
#myHashtag
- Now whenever you want to “link” to a hashtag without adding that note as a member of that hashtag, all you need to do is link to
[[myHashtag]]
. - Then when you want to use the “link” just click
[[myHashtag]]
and your#myHashtag
will be in that note.
Drawbacks:
- this will clutter your graph
- extra steps make the “link” less convenient.