Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Citation handler is not precise #110

Open
FlickerSoul opened this issue Jan 2, 2021 · 3 comments
Open

Citation handler is not precise #110

FlickerSoul opened this issue Jan 2, 2021 · 3 comments
Assignees
Labels
bug Something isn't working low priority Low priority feature or documentation

Comments

@FlickerSoul
Copy link
Collaborator

FlickerSoul commented Jan 2, 2021

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:

  • look at the reference section on any Markdown article

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):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

@FlickerSoul FlickerSoul added bug Something isn't working low priority Low priority feature or documentation labels Jan 2, 2021
@jukrb0x
Copy link
Collaborator

jukrb0x commented Jan 6, 2021

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
Copy link
Collaborator

jukrb0x commented Jan 6, 2021

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

@FlickerSoul
Copy link
Collaborator Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working low priority Low priority feature or documentation
Projects
None yet
Development

No branches or pull requests

2 participants