add hashes to headings