Implement header numbering for all levels of header (1-6).