Skip to content

Instantly share code, notes, and snippets.

@YimianDai
Last active July 31, 2019 17:23
Show Gist options
  • Save YimianDai/8a691546a29ec2fe280ccb9a081c3ce4 to your computer and use it in GitHub Desktop.
Save YimianDai/8a691546a29ec2fe280ccb9a081c3ce4 to your computer and use it in GitHub Desktop.
Notes on Markdown
  1. 需要用 HTML 中的 Anchor(如下代码所示)给相应的节、字节、段落创建链接的 Anchor
## <a name="sublink">节、字节、段落的链接</a>
  1. 在 GitHub 生成的 Markdown 页面上找到对应位置就可以获得具体的链接了,但这个链接会很长如果有中文的话;更好的方式是直接在 Github 页面后面加上 #head1 就好,比如 https://gist.github.com/YimianDai/8a691546a29ec2fe280ccb9a081c3ce4#sublink
  2. 要在同一篇文章内部链接另一处,直接 [head1](#head1) 就好了。
  1. How to link to part of the same document in Markdown?
  2. HTML anchor link
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment