Thanks for this thread! The information here inspired me to achieve the creation of a link to the literature note while citing the corresponding reference.
For those interested, here is my ZotLit citation template:
<%= '@' + it.map(lit => `${lit.citekey} [[${lit.citekey}|(Notes)]]`).join("; ") %>
(Note: I use the citekey as filename)
With this template, when we cite a reference by typing [@
and select a reference,
it generates a sentence like this:
And finally rendered as this:
And it correctly links to the literature notes: