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

Support multiple references to the same footnote #239

Open
yorickhenning opened this issue Aug 20, 2020 · 2 comments
Open

Support multiple references to the same footnote #239

yorickhenning opened this issue Aug 20, 2020 · 2 comments

Comments

@yorickhenning
Copy link

# Heading

Some text with a footnote.[^1]

Some other text with the same footnote.[^1]

[^1]: The footnote

When rendered, the second paragraph renders the string literal "[^1]" instead of generating a second supertext link to the same footnote.

@ghost
Copy link

ghost commented Jan 28, 2021

FYI this plugin does the job: https://github.com/markdown-it/markdown-it-footnote

@Nikaoto
Copy link

Nikaoto commented Feb 12, 2021

How exactly would the return link work in this case? Should it add another backlink or just link to the first one? I've circled the backlink, which refers back to the footnote reference 2.

screenshot

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants