I am just trying to add footnotes in my GitHub Gist, but it doesn\'t work:
Some long sentence. [^footnote]
[^footnote]: Test, [Link](https://google.com).
I wasn't able to get Surya's and Matteo's solutions to work. For example, "(#f1)" was just displayed as text, and didn't become a link. However, their solutions led me to slightly different solution. (I also formatted the footnote and the link back to the original superscript a bit differently.)
In the body of the text:
Yadda yadda1
At the end of the document:
1Here is the footnote text.
Clicking on the superscript in the footnote returns to the superscript in the original text.