我可以通过将 {.scrollable} 添加到幻灯片标题并更新 YAML 来启用幻灯片滚动
---
format:
revealjs:
scrollable: true
---
## Inferences from Posterior for Treatment Effect {.scrollable}
I am unclear on how to add multiple classes for scrolling and no stretch.
The following fail:
## Inferences from Posterior for Treatment Effect {.scrollable, .nostretch}
## Inferences from Posterior for Treatment Effect {.scrollable} {.nostretch}
您可以添加多个类,只需将它们一个接一个地排列即可,即
## Inferences from Posterior for Treatment Effect {.scrollable .nostretch}