Skip to content

Instantly share code, notes, and snippets.

@roachhd
Created November 17, 2014 04:04
Show Gist options
  • Save roachhd/da33bcc2b4eb765f15fa to your computer and use it in GitHub Desktop.
Save roachhd/da33bcc2b4eb765f15fa to your computer and use it in GitHub Desktop.
Anchors in Markdown, GitHub flavour, 😜

Anchors in Markdown

To create an anchor to a heading in github flavored markdown. Add - characters between each word in the heading and wrap the value in parens (#some-markdown-heading) so your link should look like so:

[create an anchor](#anchors-in-markdown)

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