Add named anchors to ## headings.