【问题标题】:R package revealjs can't change transitionR包revealjs不能改变过渡
【发布时间】:2018-03-21 08:36:46
【问题描述】:

我正在尝试使用 Rmarkdown 和revealjs 包在RStudio 中创建演示文稿。即使我将 yaml 更改为包含 RStudio documentation on revealjsgithub documentation on revealjs 中所述的不同转换,我似乎也无法更改转换。我正在运行 Microsoft R Open 3.3.3、RStudio 版本 1.0.143、Rmarkdown 1.3 和revealjs 0.9。下面是一些简单的代码。我尝试使用 knit 按钮和控制台呈现演示文稿。过渡卡在默认框过渡。

---
title: "Test Presentation"
output: 
  revealjs::revealjs_presentation:
  transition: fade
---

## Slide with Bullets

- Bullet 1
- Bullet 2
- Bullet 3

## Slide with R Code and Output

```{r}
summary(cars)
```

## Slide with Plot

```{r, echo=FALSE}
plot(cars)
```

【问题讨论】:

    标签: r rstudio r-markdown reveal.js


    【解决方案1】:

    缩进“过渡:淡入淡出”对我有用。

    ---
    title: "Test Presentation"
    output: 
      revealjs::revealjs_presentation:
        transition: fade
    ---
    

    【讨论】:

    猜你喜欢
    • 2012-03-17
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2015-08-13
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多