We should re-use the existing output parameters for the html_document output type, see
If an R Markdown document configures the output as follows, the toc configuration is lost in the documented rendered by the container:
output:
html_document:
df_print: paged
toc: yes