1
我想在R的revealjs演示文稿中使用小写字母标题。默认标题是大写字母,我找不到任何内置选项来更改它,所以我创建了一段HTML代码来执行此操作。如何在R中的revealjs演示文稿中制作小写字母标题?
我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
文件)但仍然是大写字母。我做错了什么以及如何制作小写字幕?