Fix markup and capitalization of headings in notes and sources