【发布时间】:2017-08-01 13:23:08
【问题描述】:
我想在 R 中的 Revealjs 演示文稿中使用小写标题。默认标题是大写的,我找不到任何内置选项来更改它,所以我创建了一段 HTML 代码来做到这一点。
我的a.html 文件:
<style>
.title-custom {
text-align: right;
text-transform: lowercase;
}
</style>
<section>
<h1 class="title-custom"><br> right lowercase title </h1>
</section>
我的index.Rmd 文件:
---
output:
revealjs::revealjs_presentation:
theme: black
highlight: pygments
self_contained: false
center: true
reveal_options:
slideNumber: true
previewLinks: true
---
```{r, echo = FALSE}
shiny::includeHTML("a.html")
```
我通过一张带有右对齐文本的幻灯片获得输出(因此index.Rmd 文件“看到”a.html 文件)但仍然是大写的。我做错了什么以及如何制作小写标题?
【问题讨论】: