In this feature request back in 2016 Yihui shows, at the bottom, how to have different code chunks have different backgrounds in R Markdown. I've attached a screenshot of this here. Is there a way to do this with xaringan?
I found this answer, which works for changing the background color for all code chunks, but I can't figure out how to modify the css so I can change the background for just a few specific chunks.
The goal here is to have most chunks show up normally, but a few show up with a red background or similar to signify "This is bad". Any help would be appreciated.