Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing argument for .remark-code-background #76

Open
vrbiki opened this issue Sep 15, 2022 · 1 comment
Open

Missing argument for .remark-code-background #76

vrbiki opened this issue Sep 15, 2022 · 1 comment
Labels
priority: medium Medium priority status: considering Considering if/how this should be implemented type: new New feature or enhancement

Comments

@vrbiki
Copy link

vrbiki commented Sep 15, 2022

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?

@gadenbuie
Copy link
Owner

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

@gadenbuie gadenbuie added priority: medium Medium priority status: considering Considering if/how this should be implemented type: new New feature or enhancement labels Sep 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority: medium Medium priority status: considering Considering if/how this should be implemented type: new New feature or enhancement
Projects
None yet
Development

No branches or pull requests

2 participants