Skip to content

Instantly share code, notes, and snippets.

@ccj5351
Forked from asabaylus/gist:3071099
Created January 26, 2018 03:49
Show Gist options
  • Save ccj5351/ddf52e87c234302f2e50e8120d4ff5d7 to your computer and use it in GitHub Desktop.
Save ccj5351/ddf52e87c234302f2e50e8120d4ff5d7 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. 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)

@ccj5351
Copy link
Author

ccj5351 commented Jan 26, 2018

It works, thanks so much!

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