javalent / obsidian-leaflet

Adds interactive maps to Obsidian.md using Leaflet.js
486 stars 30 forks source link

Using "this.file.link" in queries to reference the current file #303

Closed kepano closed 1 year ago

kepano commented 2 years ago

Dataview has a useful way to create generic queries using this.file.link which will use the current file as a reference without requiring you to specify the actual note name e.g. [[Note]].

Is there a way to do something like this already? If not, the following notation could be very useful:

leaflet
id: map
linksTo: this.file.link
coordinates: this.file.link
stale[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.