esm7 / obsidian-map-view

Interactive map view for Obsidian.md

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Allow tag that denotes inline locations to include nested tags

mjknght opened this issue · comments

It would be great if the tag that denotes inline locations permitted there to be nested tags. For example, if the tag is #locations then #locations/cities and #locations/buildings would both be permitted. At present, if there's anything after the tag at all, it is not recognised. Thanks for your consideration!

Original comment below:

This works very well indeed – thank you so much for this! Just updated, and very grateful for how easy this makes the plugin to work with.

This is great already, but I do have one small request, which is for the tag to allow for nested tags. Let me explain why. I have lots of #locations tags already in my notes, but they all have nested tags, e.g. #locations/cities #locations/buildings etc. At the moment I need to add this tag for a second time without any nested tags for the location to be picked up. But if all that was required was for the top-level tag to be present, suddenly everything I already have would appear on the map. Thanks for you consideration and thanks again for adding this feature!

Originally posted by @mjknght in #135 (comment)

commented

For clarification: how I plan this would work is that the "tag that denotes inline locations" would be able to accept a wildcard (as in other places in Map View), so you could write #locations* in the settings.

That sounds ideal! Thanks again.

commented

Added in 3.1.0.

commented

(rolled back the release because I made a mistake in the process, will hopefully re-release it tomorrow)

commented

(update: fixed and re-released now)