Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
Github Markdown Heading Anchors

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