admin管理员组文章数量:1122846
My YAML setting is like:
---
title: "XXX"
subtitle: 'XXX'
author: 'by XXX'
output:
pdf_document:
toc: true
toc_depth: 3
number_sections: true
---
Is it possible to limit the depth of the number_sections
in 3?
I expected to see the contents
# header 1
aaa
## header 2
bbb
### header 3
ccc
### header 3 (2)
cccc
#### header 4
dddd
being rendered like this:
1 header 1
aaa
1.1 header 2
bbb
1.1.1 header 3
ccc
1.1.2 header 3 (2)
cccc
header 4
dddd
本文标签: r markdownit is possible to set the depth of numbersections in rmarkdownStack Overflow
版权声明:本文标题:r markdown - it is possible to set the depth of number_sections in rmarkdown? - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1736299667a1930538.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论