With the value "index=numbered" within the document class "scrbook" I changed the chapter head in this example from "MyIndex" to "2 MyIndex". In the pagehead
GitHub - Wandmalfarbe/pandoc-latex-template: A pandoc LaTeX
header footer - Different page style on last page of chapter - TeX
Page Formatting
titles - Different header and footer for first page and for rest
How to set page number at right footer - TeX - LaTeX Stack Exchange
text - Extracting numbered lists from docx documents as they
header footer - change the position of the beamer page numbering
r - MS Word number of pages in a flextable table using Rmarkdown
Headers and footers - Overleaf, Online LaTeX Editor
Page Formatting
header footer - Removing roman number after the title page - TeX