Add anchors to heading with styles

This changes adds anchors for headings like in Github.