在使用beamer和Rmarkdown时,有可能显示代码块吗?下面给出了一个错误,我认为是由于输出周围的#造成的。
---
title: "test"
output: beamer_presentation
---
# Test Reveal
Text
\visible<2->{
Code
```{r}打印(2+ 2)
}发布于 2020-08-24 17:39:10
您可以通过在代码块之前使用\pause来实现非常类似的效果:
---
title: "test"
output: beamer_presentation
---
# Test Reveal
Text
\pause
Code
```{r}打印(2+ 2)
https://stackoverflow.com/questions/63538154
复制相似问题