gadenbuie / xaringanthemer

😎 Give your xaringan slides some style

Home Page:https://pkg.garrickadenbuie.com/xaringanthemer/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Missing argument for .remark-code-background

vrbiki opened this issue · comments

Forgive me if I missed this, but I don't believe there is an argument to specify the background color of R code. In my CSS I would have written:

.remark-code {
background: #eeeeee;
}

Is there an equivalent setting that can be achieved using style_duo_accent() for example?

There isn't and I'm pretty sure I didn't add one because the colors of the <pre><code> elements are usually provided by highlightjs, including background color, and depends the highlighting theme you choose. Although a possible approach would be to ignore this option unless provided by the user. I'll have to think about this and take a look