It would be great to allow having multiple “source references” for a same footnote, with “return to content” links for each occurrence of this reference.
You should be able to just create a section with a heading like this:
[Link][]
###### Sources
- https://example.net/
- https://example.com/
[Link]: #Sources "2 sources"
(You might have to add <a name="Sources"></a>
)
You probably wonʼt get this with extensions for online footnotes as in:
dolor sit amet^[unique footnote text, automatically labeled or numbered] quid pro quo^[same footnote here]`
However, most extensions with labeled footnote markers should support and collapse multiple uses of the same footnote text. Pandoc is quite sophisticated but (at least by default) assigns separate footnote markers to multiple references to the same footnote text.
dolor sit amet^[1] quid pro quo^[1]`
[1]: unique footnote text, used twice
dolor sit amet[^1] quid pro quo[^1]`
[^1]: unique footnote text, used twice
dolor sit amet[^foo] quid pro quo[^foo]`
[^foo]: unique footnote text, used twice
dolor sit amet[^foo] quid pro quo[^foo]`
[foo]: unique footnote text, used twice
Thanks for your answers!
I manage to have several reference links pointing to a single footnote; what I would like is for the footnote to output one “return” link for each reference.
Here is an example:
dolor sit amet[^1]
quid pro quo[^1]
Desired footnote output:
1. Footnote text. ↑ ↑
With “↑” being the links to go back in the content at the place of each reference: the first “↑” links to dolor sit amet[^1]
and the second links back to quid pro quo[^1]
.
I’m using goldmark.
Well, this is very much implementation-dependent.