Distinct colors for R input and output in Rnw chunks - knitr

171 Views Asked by At

I'd like to render R input and output code from the same Rnw chunk using two different colors so that they can be more easily interpreted. So far my attempts failed while using a custom CSS template, where any change in colors appear to systematically change both input and output.

Thank you for your time. F

0

There are 0 best solutions below