rmellmer/obsidian-link-range

Can't get it to work - No match found

Opened this issue · 4 comments

After installing and enabling plugin, nothing happens.

Can create links / embeddings as usual, but when I try to add .. to select the next heading I always get 'No match found'.
What do I do wrong?

Screenshot 2024-05-22 at 16 40 41

Hmm I haven’t experienced this. Mind sending a screenshot of your link range plugin settings?

Just standard, nothing changed.

Screenshot 2024-05-22 at 16 41 55

Ok. I did some testing.
I created an new empty vault, everything standard except for the Link Range plugin. When creating a link range, the range is accepted when you type the query at once AND hit enter. If I moved the cursor behind the closing brackets ]] , sometimes it would be able to find the range, at other times I was greeted with this message:

Screenshot 2024-05-22 at 18 27 07

In my existing vault I managed to get it work half of the time.
The first query is a normal one without range.
The second query is the one that doesn't work (maybe the source tree is a bit difficult, hence the problems?).
The third query is from a simple file in the root folder of the vault.

Screenshot 2024-05-22 at 18 29 28

Thanks for the details!

I can confirm the issue with the source tree path there. I created a similar path (HTB/01 - Genesis/Genesis 1#v1..v2) in a test vault and I had issues getting the plugin to work. However, if I just reference the file as [[Genesis 1#v1..v2]] it works. I can see about fixing this issue