RyotaUshio / obsidian-latex-theorem-equation-referencer

A powerful indexing & referencing system for theorems & equations in your Obsidian vault.
https://ryotaushio.github.io/obsidian-latex-theorem-equation-referencer/
MIT License
177 stars 8 forks source link

Hover page preview for definitions #232

Open LucaDooku opened 6 months ago

LucaDooku commented 6 months ago

When referencing a definition from another page, the hover-over preview displays the incorrect title. Instead of showing the title of the specific definition being referenced, it shows the title of the first definition on the page where the referenced definition resides. For example, when referencing the definition for "injective" it does not display properly in the hover over preview:

Image Description

Instead, it displays the title of the first definition on the page where the definition of "injective" resides, as seen below:

Image Description

I hope, this is a good explanation, I have noticed that this bug doesn't exist for theorems and I am not aware of it on any other type, e.g. corollary, remarks and lemmas.

This is my first time reporting an issue of GitHub, so my apologies if its non-standard in anyway. I really appreciate your plugin, its really is such a step up from native Obsidian. Cheers!