With Rmarkdown html documents, the Rstudio document outline indents the label based on the number of hash marks for that label (ie sections):
It is a very useful features and helps a lot with using the outline to navigate around large documents.
With Rmarkdown ioslides documents, this doesn't happen:
image