factoring out a hash-heading? function
handle underlined headings