Add anchors to heading with styles