jensmtg / influx

An alternative backlinks plugin, which displays relevant and formatted excerpts from notes with linked mentions, based on the position of mentions in the notes' hierarchical structure (bullet level indentation).
MIT License
310 stars 14 forks source link

Error when combined with custom callouts/admonitions #47

Open vishae opened 1 year ago

vishae commented 1 year ago

Describe the bug When a mention is made inside a custom callout, all linked mentions in the target note disappear.

Example. This is what currently happens when you make a mention:

image

When you make a mention in a normal callout, everything still works fine:

image

But if you use a custom callout/admonition (that I created using the admonition plugin), all linked mentions using Influx disappear:

image

To Reproduce Steps to reproduce the behaviour:

  1. Install the Admonition plugin
  2. Define a new admonition/callout type
  3. Use the new callout in conjunction with a note mention (see third screenshot above)
  4. Open the mentioned note -- and see that there is not Linked Notes (Influx) section

Expected behaviour That custom callouts should work the same as default callouts.

Obsidian versions: