P粉9030525562023-09-16 17:02:44
创建没有标题且带有类 .blank-slide .flexbox .vcenter
的幻灯片,然后直接使用 h1
标记创建幻灯片标题。然后在 .blank-slide
类下的 h1
标签上使用 css,使其看起来像 title-slide 标题。
--- title: "Untitled" output: ioslides_presentation date: "2023-06-10" css: style.css --- ```{r setup, include=FALSE} knitr::opts_chunk$set(echo = FALSE) ``` ## R Markdown This is an R Markdown presentation. Markdown is a simple formatting syntax. ## {.blank-slide .flexbox .vcenter} <h1>Intro to Syntax</h1> ## Slide with Bullets - Bullet 1 - Bullet 2 - Bullet 3 ## {.blank-slide .flexbox .vcenter} <h1>More Discussion</h1>
样式.css
.blank-slide h1 { font-size: 65px; line-height: 1.4; letter-spacing: -3px; color: #515151; }