Open andriusvelykis opened 10 years ago
Sounds good to me!
Especially your point that it would make sense to move the link inside the parentheses for single citations goes to show that hooking into the cite rendering is the best approach here.
Any progress (on the horizon) for this?
No, citeproc has no support for arbitrary hooks yet and no one's currently working on this as far as I know.
Almost four years after the last comment, is there any chance of revisiting this any time soon?
When using multi-citation e.g.
{% cite ruby microscope %}
, the output HTML has only a single link to the first item in citations, as indicated in the README:It would be nice to have support for multiple links - one for each citation. As discussed further in #41, the citations are rendered by cite processor and there needs to be a way to hook/hack into it.
Regarding "how it should look", I think one solution would be to always hook into the citeproc and add links for the cite item, but not parentheses, e.g. (Flanagan & Matsumoto 2008; Shaughnessy 2013) or [1, 2].
For single-cite items it would also change, becoming (Flanagan & Matsumoto 2008) or [1].