Add anchors to headlines