rmarkdown syntax for tabset #2449
-
Hello, Is it possible to use the rmardown syntax "## tab title {.tabset}" to generate tabset? It would be useful to generate tabset procedurally.
I can use the script bellow to generate tabset for the first level (h3 title) but the next levels (h4) are not converted to tabset
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
You have to use an extra backticks to format your document, i.e., four in your case Short answer to the question: no, you can't. Tabset feature in Quarto is not implemented exactly as in |
Beta Was this translation helpful? Give feedback.
You have to use an extra backticks to format your document, i.e., four in your case
````
.Short answer to the question: no, you can't.
Tabset feature in Quarto is not implemented exactly as in
rmarkdown
.Every level 2 headings in a cell div
::: {.panel-tabset}
will be considered as a tabset, which is compatible with any procedural to write code/text as tabset (probably usingknitr::knit_child()
and/or#| output: asis
).Depending on your format, please read the documentation and look at the example: