【发布时间】:2022-01-12 01:02:18
【问题描述】:
获取以下rmarkdown 文件。我想让每个blockquote 呈现不同的背景颜色(第一个是黄色,第二个是白色),但第二个css 块似乎中和了第一个。
有人可以帮帮我吗?
---
title: "Untitled"
output: html_document
---
```{css echo = FALSE}
blockquote{
background-color: rgb(255,255,153);
}
```
> this is a note 1
>
> the is is still the note
```{css echo = FALSE}
blockquote{
background-color: initial;
}
```
> this is a note 2
>
> the is is still the note
【问题讨论】:
标签: css r r-markdown