【发布时间】:2021-12-28 15:07:06
【问题描述】:
我想用rmdformats 包中的downcute (chaos) 主题创建一个Rmarkdown html 报告。现在一切正常,除了我的yaml 标头中的toc_depth 参数。目录将只显示h1 和h2。
install.packages("rmdformats")
---
title: "Title"
date: "`r format(Sys.time(), '%d %B, %Y')`"
output:
rmdformats::downcute:
code_folding: hide
toc_depth: 5
self_contained: true
thumbnails: false
lightbox: true
downcute_theme: "chaos"
pkgdown:
as_is: true
---
# h1
## h2
### h3
#### h4
##### h5
【问题讨论】:
标签: r r-markdown knitr