title: Rmarkdown: Placing static content under a tabbed section
body: <p>I was hoping for help placing static content under a tabbed section in my R markdown file.  It's similar to this question: <a href="https://stackoverflow.com/questions/38062706/rmarkdown-tabbed-and-untabbed-headings">RMarkdown: Tabbed and Untabbed headings</a>, but the solution doesn't account for blank lines in the table of contents.</p>
  
  <p>Is it possible to end the tabbed section without starting a new section?  Here's an example:</p>
  
  <pre><code>---
  title: "Mtcars Example"
  output: 
    html_document:
      toc: true
      toc_float: true
      number_sections: true
  ---
  
  # Mtcars Info
  The data was extracted from the 1974 Motor Trend US magazine..
  
  # Dataset Prep
  No changes were made to the dataset..
  
  # Plots {.tabset .tabset-pills}
  ```{r results = 'hide', message = FALSE, fig.height = 5, fig.width = 5, echo = FALSE}
      plot1 &lt;- ggplot(data = mtcars) + 
              geom_point(aes(x = mpg, y = hp))
      plot2 &lt;- ggplot(data = mtcars) + 
              geom_point(aes(x = mpg, y = wt))
  ```  
  
  ## mpg vs hp  
  ```{r, echo = FALSE}
  plot1
  ```  
  
  ## mpg vs wt  
  ```{r, echo = FALSE}
  plot2
  ```  
  
  #
  The plots above show how mpg is related.. 
  
  # Analysis
  the mtcars dataset is a great exploratory dataset to show..
  </code></pre>
  
  <p>Section 3 is a tabbed section allowing the user to switch between plots.  I'd like to have static text underneath it.  </p>
  
  <p>The problem is, without starting a new heading, the content is only visible when the 2nd tab is selected.  Not good.  I can fix this by starting a new heading and putting the content in there.. but now I have a numbered section 4 in my table of contents that's blank.  Also not desirable.  </p>
  
  <p><a href="https://i.stack.imgur.com/UFeMo.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/UFeMo.png" alt="enter image description here"></a></p>
  
  <p>Is there any way to fix this?  In the Rmarkdown cheatsheet <a href="https://www.rstudio.com/wp-content/uploads/2016/03/rmarkdown-cheatsheet-2.0.pdf" rel="nofollow noreferrer">https://www.rstudio.com/wp-content/uploads/2016/03/rmarkdown-cheatsheet-2.0.pdf</a>, you supposedly can end a tabbed section with ###, but that doesn't seem to work either.     </p>