vschroeter / obsidian-virtual-linker

Plugin for obsidian that automatically generates virtual links for text within your notes that match with the titles or aliases of other notes in your vault.
Other
127 stars 4 forks source link

Prevent linking of glossary note to itself #21

Open TaykhoomDalal opened 3 months ago

TaykhoomDalal commented 3 months ago

Request: Would it be possible to add some sort of setting that prevents the glossary note from referencing itself when you are hovering over the linked note? If this is already implemented (and I am missing something), could you please let me know what setting I need to change? Thank you so much!

Note: I have the "Exclude self-links to the current note" toggled on, but I don't think this is related to my issue

Screenshot 2024-07-18 at 2 05 55 PM

Example:

  1. Create a definition note which contains an example of the word within the note
Screenshot 2024-07-18 at 1 55 30 PM
  1. Create another note referencing that word
Screenshot 2024-07-18 at 1 59 26 PM
  1. Hover over the linked word, and then hover over the word inside the linked note (and repeat infinitely)
Screenshot 2024-07-18 at 1 57 00 PM
vschroeter commented 3 months ago

This is a known problem. These previews are rendered with a MarkdownRenderChild, and I still haven't found a good way to know for which file this renderer is currently being called.