我创建了一个html Rmarkdown文件,其中有一个名为Sections的选项卡集,其中有三个子选项卡集.它们都水平出现.但我希望这些选项卡垂直显示在左上角,就像这个here一样.
我的Rmarkdown代码如下:
---
title: "test tabsets"
output:
html_document:
theme: null
highlight: null
css: styles.css
toc: true
toc_float:
collapsed: true
smooth_scroll: true
number_sections: true
date: "2024-04-20"
---
```{r setup, include=FALSE}
knitr::opts_chunk$set(echo = TRUE)
options(knitr.table.format = "html")
```
```{r, echo=FALSE , include=FALSE}
suppressPackageStartupMessages(library(tidyverse))
suppressPackageStartupMessages(library(kableExtra))
```
## Sections {.tabset .tabset-fade}
### summary cars
```{r cars}
summary(cars)
```
### Including Plots
```{r pressure, echo=FALSE}
plot(pressure)
```
### structure
```{r mtcars, echo=FALSE}
str(mtcars)
```
如何在html Rmarkdown文件的左上角设置此选项卡集,并且仅在那里,而没有图片中出现的水平部分?