-
-
Notifications
You must be signed in to change notification settings - Fork 61
Adding option to link/color the entire citation, not only the year? #268
Comments
The reason we only color/link the year is that a single
That only has to do with linking, though. It's possible, If you're targeting HTML, pandoc already puts the |
I am guessing that @joelostblom is more interested in linking the whole citation than colouring it, so colouring the whole citation without expanding the link is a poor solution. Would it be possible to expand the link if and only if the citation contains one reference? This approach is used in pandoc-crossref, see lierdakil/pandoc-crossref/issues/109. |
+1 |
3 similar comments
+1 |
+1 |
+1 |
Looking at the discussion above, imho the nice solution will be to link the year when there are multiple citations for the same author. In single citation per author cases, it just seems nicer to place the link on author and date together. (Or simpler still but little inconsistent, which is what you would have sought to avoid if I am guessing correctly: the first link is Coloring citations would be nice too, but that as @samueldodson indicates as well, this is not what we (at least I) intend (That could be handled with latex/css also). |
I am a fan of the how the journal Cell handles citation formatting. The entire citation is clickable and colored, as seen in the screenshots below from this open access article. I think their approach facilitates quick scanning of the article content, which is more difficult when the citations are in the same color as the main text.
I enjoy the year-only linking and coloring options already present in pandoc, but it is not as quick to skip a section of multiple references when they contain both link-colored and black characters. Therefore, I think the possibility to color the entire citation would make a good addition to the current features, preferably as an option in the YAML-header, but I am also interested in if it is possible to currently achieve this behavior with a custom filter.
Cell article screenshot:
The text was updated successfully, but these errors were encountered: