Skip to content

Instantly share code, notes, and snippets.

@noid11
Last active August 1, 2020 16:06
Show Gist options
  • Save noid11/e96082aac6cad0108c954a92d7bee453 to your computer and use it in GitHub Desktop.
Save noid11/e96082aac6cad0108c954a92d7bee453 to your computer and use it in GitHub Desktop.
Gist で脚注(footnote)っぽいのを Markdown で実現する方法

Gist で脚注(footnote)っぽいのを Markdown で実現する方法

  • sup タグとページ内リンク使う

sup タグ

  • こういうのが実現できる1
- こういうのが実現できる<sup>1</sup> 

ページ内リンク

- [こういうリンクが実現できる](#ページ内リンク)

組み合わせる

  • 脚注っぽい表示にページ内リンク!1
- 脚注っぽい表示にページ内リンク!<sup>[1](#sup)</sup>

書くのもメンテもめんどくさいし、もっと良い方法が無いものか・・・

脚注

sup

<sup>-HTML5タグリファレンス
http://www.htmq.com/html5/sup.shtml

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment