Only the number at the start of a heading
TidyHeadings deletes the old number and inserts the new one. It never rewrites the rest of the heading, so links, bold text and comments there stay as they are. The new number takes the font and size of the heading text, and is never part of a link.