obsidian-map-view icon indicating copy to clipboard operation
obsidian-map-view copied to clipboard

URL template to allow multiple replacements

Open t3mujin opened this issue 1 year ago • 1 comments

Seems like the logic of parsing the URL for Custom "Open in" only is replacing the first occurrence, but it would be great to allow to replace all. An example, I was trying to set an URL for OsmAnd with a pin, so I have to set two sets of coordinates, one for the pin and other for the map itself, something like: https://osmand.net/map/?pin={x},{y}#9/{x}/{y}

But what's being sent to the browser is only the first set replaced

t3mujin avatar Oct 15 '24 16:10 t3mujin

Already done, will be in the next release.

esm7 avatar Oct 15 '24 18:10 esm7