问题
I am working on a html document (readthedown theme) of rmarkdown and i would like to create several ".tabset" but :
I would like that the tabset's content appears only when i click on it in the table of content and not appears ones after ones directly on the body of doc.
For example, when i am in the first tabset, and i'm going through the several sub tabset, i don't want to seing the next tabset on content of the page.
in my situation i have :
# Title1 {.tabset .tabset-fade}
## sub title a {.tabset .tabset-fade}
## sub title b {.tabset .tabset-fade}
## sub title c {.tabset .tabset-fade}
# Title2 {.tabset .tabset-fade}
## sub title d {.tabset .tabset-fade}
## sub title e {.tabset .tabset-fade}
## sub title f {.tabset .tabset-fade}
and if i am in the content of sub title a or b or c i dont want to see the content of Title2 when i arrived at end of these sections, like this :
Readthedown Theme
Here, the content of sub section b has been selected and i saw only the content of sub section b and not other content
i've already tried several methods like .tabset-dropdown, .active but it doesn't works
is it possible ?
Thanks for your help :)
Max
来源:https://stackoverflow.com/questions/62194705/tabset-in-html-rmarkdown