add internal links to headings