我的revealjs_presentation中有问题。我需要显示我的代码和输出。因此需要一个很长的幻灯片,但我有这个:
我的代码:
output:
revealjs::revealjs_presentation:
css: slides.css
theme: night
self_contained: false
incremental: true
transition: none
我的选择有问题吗?
答案 0 :(得分:0)
尝试使用" slide"添加另一张幻灯片影响。这不是你要求的,但我认为这是唯一的方法:
## Slide 1
```{r, eval=F}
# (Your plot code)
# Will show your code whithout evaluation (not dislaying plot)
```
## Slide 2 {data-background-transition="zoom" data-transition="zoom"}
```{r, echo=FALSE, fig.height=6, fig.width=10, fig.align="center"}
# (Your plot code)
# Only your plot will be displayed.
```