You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

如何移除Quarto仪表板中tabset卡片的展开按钮

解决方案

要移除Quarto仪表板中带tabset的外层卡片展开按钮,同时保留代码块的内部展开按钮,只需给包含.tabset的二级标题添加.no-expand类即可,无需给每个tab单独设置:

---
title: "Untitled"
format: dashboard
---

## Quarto {.tabset .no-expand}
### Tab1

```{r}
plot(mtcars)

tab2

plot(mtcars)
这样设置后,外层的Quarto卡片不会显示展开按钮,但每个tab里的代码块依然保留自带的展开/折叠按钮,完全符合需求。

内容的提问来源于stack exchange,提问作者Gingie
相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.06.13 06:07:03