War*_*rez 4 css markdown r presentation rstudio
我正在使用RStudio Presentation,我想更改主要元素的字体大小(例如:header,bullet和sub bullet).我能够将样式表添加到我的rmd文件中,但我不知道在css文件中要更改什么.我已经尝试在css文件中的各个地方更改字体大小但没有任何效果.
## Slide with Bullets
- Bullet 1
+ Sub bullet
- Bullet 2
- Bullet 3
Run Code Online (Sandbox Code Playgroud)
rstudio演示文稿的默认样式表在这里
你当然可以有一个样式表,但你也可以像下面一样动态更改设置.
Untitled
========================================================
Slide title
========================================================
<style>
/* slide titles */
.reveal h3 {
font-size: 100px;
color: blue;
}
/* heading for slides with two hashes ## */
.reveal .slides section .slideContent h2 {
font-size: 40px;
font-weight: bold;
color: green;
}
/* ordered and unordered list styles */
.reveal ul,
.reveal ol {
font-size: 50px;
color: red;
list-style-type: square;
}
</style>
## Slide with Bullets
- Bullet 1
+ Sub bullet
- Bullet 2
- Bullet 3
Run Code Online (Sandbox Code Playgroud)
给我这个

的#,##,###等对应h1,h2,h3,等很显然,h3与幻灯片标题去..reveal如果要更改rstudio样式表,将每个项目放在前面也很重要.