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:
(#some-markdown-heading)
[create an anchor](#anchors-in-markdown)