RMarkdown: How to end tabbed content
Use {-}
for removing the TOC numbers, after ending the tabbed content
tab content 2
## section 2 {.tabset .tabset-fade}
### tab 1
tab content 1
### tab 2
tab content 2
### tab 3
tab content 3
## {-}
content below tabbed region
My approach to this problem is simple, but it works:
## title {.tabset .tabset-fade}
content above tabbed region.
### tab 1
tab content 1
### tab 2
tab content 2
##
content below tabbed region
The tab works only for 'sub-headers of the header with the.tabset attribute to appear within tabs rather than as standalone section' (see here)
So you just have to define a new header (in this case no title) one level above the tabs to signalize RMD not to be in a tabbed section.
It is also possible to design a document with different tabs in different headers:
## section 1 {.tabset .tabset-fade}
content above tabbed region.
### tab 1
tab content 1
### tab 2
tab content 2
## section 2 {.tabset .tabset-fade}
### tab 1
tab content 1
### tab 2
tab content 2
### tab 3
tab content 3
#
content below tabbed region
Edit: If you want to use a Table of Content (TOC) there is a problem with the solution above, because the last #
will create an empty entry in the TOC. The solution here is to use
## {.unlisted .unnumbered}
content below tabbed region