title: R Markdown is not rendering Table of Contents or Tabsets
body: <p>Trying to format an html document in R markdown with a table of contents and tabsets under certain headers. Using the cheatsheet, a book, and online sources, I think it should be set correctly. However it seems to not render correctly</p>
  
  <p>I have tried to do one at a time and neither works. I have even copied code exactly and rendered and it doesn't show up the same. </p>
  
  <p>I have reinstalled knitr and rmarkdown packages to no avail.</p>
  
  <p>I am running R 5.35.1 </p>
  
  <pre><code>---
  title: Water Conditions and Operations
  date: "`r Sys.Date()`"
  output: 
    html_document:
      toc: true
      toc_depth: 3
      toc_float: 
        collapsed: true
        smooth_scroll: true 
  ---
  
  
  ```{r}
  ```
  
  ## Kings River   
  
  &lt;center&gt;
  Insert Image
  &lt;/center&gt;
  
  
  ### Pine Flat {.tabset}    
  
  
  
  #### Daily  
  
  hi  
  
  #### Weekly  
  
  hi  
  
  #### Monthly  
  
  hi  
  
  ### Upstream {.tabset}  
  
  #### Daily
  
  #### Weekly
  
  #### Monthly
  
  ## State Water Project 
  
  ### Precipitation
  
  ### Snow
  
  ```{r}
  
  ```
  
  
  [Kings River]
  </code></pre>
  
  <p>I expect there to be a tabset like on how I did on a shiny app. But these just appear as normal headers</p>