使用 Reveal.js 和 Rmarkdown 的垂直滑动

Vertical slide with Reveal.js and Rmarkdown

我试图通过 reveal.js 和 RStudio 中的 Rmarkdown 制作一些幻灯片。我 运行 遇到了垂直幻灯片的问题。每当我用“###”设置下一张幻灯片时,下一张幻灯片就会嵌入到最后一张幻灯片中。将下一张幻灯片设置为垂直幻灯片(向下)的正确语法是什么?

---
title: "Slide"
output: 
  revealjs::revealjs_presentation:
    center: true
---

## R Markdown 

This is an R Markdown presentation. 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>.

When you click the **Knit** button a document will be generated that includes both content as well as the output of any embedded R code chunks within the document.

### Slide with Bullets

- Bullet 1
- Bullet 2
- Bullet 3

只需少用一个散列。记录 here.

---
title: "Slide"
output: 
  revealjs::revealjs_presentation:
    center: true
---

# R Markdown 

This is an R Markdown presentation. 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>.

When you click the **Knit** button a document will be generated that includes both content as well as the output of any embedded R code chunks within the document.

## Slide with Bullets

- Bullet 1
- Bullet 2
- Bullet 3