Generates anchored headings and nested anchored-based navigations based on header tags