added heading ids and TOC links