Skip to content

Instantly share code, notes, and snippets.

@todgru
Forked from asabaylus/gist:3071099
Created March 23, 2017 18:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save todgru/e5d3767eb4b08b2d7dfa17a9f0ca0e49 to your computer and use it in GitHub Desktop.
Save todgru/e5d3767eb4b08b2d7dfa17a9f0ca0e49 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)

@todgru
Copy link
Author

todgru commented Mar 23, 2017

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