Reputation: 19
If I have a .rmd report, I can simply use {.active} and choose which of the nested tabsets should be displayed as default. In Quarto, I can't find a way how to do it...
i.e.
::: {.panel-tabset .nav-pills group="1111"}
# A
::: {.panel-tabset .nav-pills group="1112"}
## 1
1
## 2
2
:::
# B
::: {.panel-tabset .nav-pills group="1112"}
## 3
3
## 4
4
:::
:::
Upvotes: 0
Views: 16
Reputation: 836
Quarto only recently added this as a feature, and it is possible you are on a slightly older version without it. See this Github issue and discussion about such a feature.
This pull request seems to have enabled the active class, as it was with Rmarkdown. But this was only committed two weeks ago, so you may need to switch to a pre-release version of Quarto to try this out.
Once you are on a newer release, you can see an example of using the active tag with this post.
Upvotes: 0