R rmarkdown ioslides - 如何包含 segue 幻灯片?
R rmarkdown ioslides - How to include a segue slide?
R rmarkdown 使用 ioslides_presentation 格式,如果我在标题
之后包含 css-classes
## MyHeader {.smaller}
这实际上改变了 <article class='smaller'></article>
元素,而不是 <slide></slide>
元素。
我想添加一张 transition/segue 幻灯片,就像在网络上的 ioslides-examples 中一样,但我需要像这样添加 类:
<slide class='segue dark nobackground'>
如何从 .Rmd-file 中执行此操作?
你可以像这样用一个 # 制作一个 segue 幻灯片
---
title: "Habits"
author: John Doe
date: March 22, 2005
output: ioslides_presentation
---
# In the morning
## Getting up
- Turn off alarm
- Get out of bed
或者您可以使用一些 css 来自定义 segue 幻灯片,例如:
.mySegue {
font-size: 105px;
line-height: 65px;
letter-spacing: -2px;
color: yellow;
padding: 60px 120px;
}
然后是这样的幻灯片:
## {.mySegue}
My Segue Text
R rmarkdown 使用 ioslides_presentation 格式,如果我在标题
之后包含 css-classes## MyHeader {.smaller}
这实际上改变了 <article class='smaller'></article>
元素,而不是 <slide></slide>
元素。
我想添加一张 transition/segue 幻灯片,就像在网络上的 ioslides-examples 中一样,但我需要像这样添加 类:
<slide class='segue dark nobackground'>
如何从 .Rmd-file 中执行此操作?
你可以像这样用一个 # 制作一个 segue 幻灯片
---
title: "Habits"
author: John Doe
date: March 22, 2005
output: ioslides_presentation
---
# In the morning
## Getting up
- Turn off alarm
- Get out of bed
或者您可以使用一些 css 来自定义 segue 幻灯片,例如:
.mySegue {
font-size: 105px;
line-height: 65px;
letter-spacing: -2px;
color: yellow;
padding: 60px 120px;
}
然后是这样的幻灯片:
## {.mySegue}
My Segue Text