I wondered which is the "correct" highest heading level in R Markdown documents? My impression was that level 1 headings (single
#) are usually reserved for the title (given in the YAML) in R Markdown or chapter in bookdown. So in the body of the markdown after the YAML header, you would only use level two or higher headings. Unfortunately, if I follow that rationale and activate the numbered section option for HTML documents, i.e.
--- title: "Foo" output: html_document: number_sections: true ---
all headings will start with
0. in the HTML output, and only level 1 headings will increase the first number.
Is my understanding correct that you should use level two headings or higher in the body of markdowns in general? (I can see, for example, that some slide packages allow the use of level 1 headings for starting a new slide.)
If I only use level two headings or higher in the body of the markdown, how can I exclude the level 1 headings from the numbering of sections (i.e. how do I get rid of the
0.from each section)?