Reed-CompBio / Graphery

A graph tutorial website
https://graphery.reedcompbio.org
MIT License
7 stars 3 forks source link

Citation handler is not precise #110

Open FlickerSoul opened 3 years ago

FlickerSoul commented 3 years ago

Describe the bug The references on the bottom of an article have anchors pointing back to the cited locations. The anchors are presented as arrows and if there are many places in the article pointing to the same citation. In this case, users may have trouble directing themselves back.

To Reproduce Steps to reproduce the behavior:

Expected behavior The arrows should be replaced by unique citation numbers.

Screenshots image

Desktop (please complete the following information): All platforms

Smartphone (please complete the following information):

Additional context Add any other context about the problem here.

jukrb0x commented 3 years ago

I think markdown only supports that one citation at one time. I haven't found a solution for this yet.

so currently the workaround is duplicated citations.

example:

test[^1]content, test content[^2]

[1]: citation larry
[2]: citation larry
jukrb0x commented 3 years ago

According to @FlickerSoul , we can use the plugins to alter this behavior.

FlickerSoul commented 3 years ago

This is the plugin I used to generate footnotes in the reference section. We should be able to fork the repo and add some changes. I went over the code when I was writing the step locator (the @ syntax) plugin. It's doable.