How to add footnotes to GitHub-flavoured Markdown?

前端 未结 10 1025
夕颜
夕颜 2021-01-29 17:21

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


        
10条回答
  •  不思量自难忘°
    2021-01-29 18:04

    Expanding a little bit on the previous answer, you can make the footnote links clickable here as well. First define the footnote at the bottom like this

    1: Footnote content goes here
    

    Then reference it at some other place in the document like this

    [1](#myfootnote1)
    

提交回复
热议问题