Skip to content

Instantly share code, notes, and snippets.

@m1cm1c
Forked from asabaylus/gist:3071099
Last active July 3, 2017 21:37
Show Gist options
  • Save m1cm1c/679fd8e8b416786ad453e887129d54c1 to your computer and use it in GitHub Desktop.
Save m1cm1c/679fd8e8b416786ad453e887129d54c1 to your computer and use it in GitHub Desktop.
Github Markdown Heading Anchors

Anchors in Markdown

To create an anchor to a heading in github flavored markdown, convert all its letters to lowercase, add - characters between each word in the heading, and wrap the value in parens (#some-markdown-heading). Your link should look like this:

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

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