With the new Obsidian Hover Editor plugin, the page preview when hovering over a link has become much more useful. This could be a very nice (and easy to implement!) feature for Leaflet! (NB: I also have this issue in the Map View repo, I think it makes sense in both plugins.)
For example, when holding cmd/ctrl down and hovering over a note for eg 200 ms, you can trigger the link-hover event like this:
this.plugin.app.workspace.trigger('link-hover', this.element, null, file.path, '')
Sorry, forgot to respond to this. This has been implemented in the plugin from the beginning (see here). You do have to enable it in Leaflet settings though.
With the new Obsidian Hover Editor plugin, the page preview when hovering over a link has become much more useful. This could be a very nice (and easy to implement!) feature for Leaflet! (NB: I also have this issue in the Map View repo, I think it makes sense in both plugins.)
For example, when holding cmd/ctrl down and hovering over a note for eg 200 ms, you can trigger the link-hover event like this: this.plugin.app.workspace.trigger('link-hover', this.element, null, file.path, '')