obsidian-leaflet icon indicating copy to clipboard operation
obsidian-leaflet copied to clipboard

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

Open kepano opened this issue 3 years ago • 0 comments

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

kepano avatar Jun 06 '22 20:06 kepano