Changing chunk background color in RMarkdown
We can use the class.source option in the code chunk header to provide custom CSS to R Markdown. This is explained in the following post: Add a CSS class to single code chunks in RMarkdown Putting together an example, I might set a class called “badCode” then have a bit of CSS to change the … Read more