我正在使用RStudio来编写markdown文档,并希望在文档顶部添加目录(TOC),以便用户可以单击相关部分进行阅读.关于rpubs有一些相关的例子,但现在我似乎无法找到它们.请注意,我不使用pandoc和很新的Rmd&knitr.有没有办法在不使用的情况下添加TOC pandoc?如果pandoc必须使用哪些功能是相关的?
这是一个小样本页面:
---
title: "Sample Document"
output:
html_document:
toc: true
theme: united
---
Header 1
---------------
This is an R Markdown document. Markdown is a simple formatting syntax for authoring HTML, PDF, and MS Word documents. For more details on using R Markdown see <http://rmarkdown.rstudio.com>.
## Header 2
When you click the **Knit** button a document will be generated that includes both content as well as the output of …Run Code Online (Sandbox Code Playgroud) 如何设置Rmarkdown在Rstudio中创建的beamer 幻灯片的宽高比为16:9?它似乎不是一个标准选项.我尝试\documentclass{}使用header.tex插入更改选项,但这不成功.