How to add footnotes to GitHub-flavoured Markdown?

前端 未结 10 1034
夕颜
夕颜 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 17:56

    GitHub Flavored Markdown doesn't support footnotes, but you can manually fake it¹ with Unicode characters or superscript tags, e.g. 1.

    ¹Of course this isn't ideal, as you are now responsible for maintaining the numbering of your footnotes. It works reasonably well if you only have one or two, though.

提交回复
热议问题