我试图找出如何包括使用reveal.js滑动,同时在RMarkdown写一拉http://rmarkdown.rstudio.com/revealjs_presentation_format.html添加标题幻灯片图像RMarkdown与reveal.js幻灯片
测试甲板我标题幻灯片中心的背景图片有是与style.css
为
.title {
background-image: url(http://img1.wikia.nocookie.net/__cb20100706023807/familyguy/images/c/c7/Tauntaun.png);
background-position: center center;
background-attachment: fixed;
background-repeat: no-repeat;
background-size: 100% 100%;
}
注意如下
---
title: "Attempt"
css: style.css
output: revealjs::revealjs_presentation
---
## Will this work
- Did the title slide have an image?
,.title
是唯一的东西会在标题幻灯片上显示任何图像。我根据我在SO和其他地方看过的内容尝试了其他几种组合。
.section .reveal .state-background
基于Rstudio 0.98.1028 add background image only to title slide
.title-slide
基于Adding an image to title slide using slidify
这些都不工作。我错过了什么吗?也许有一个我遗漏的魔术YAML选项?