Home > other >  How to keep default R markdown colors when knitting to html?
How to keep default R markdown colors when knitting to html?

Time:12-30

In R markdown or R studio, for a line like this

library('tidyverse')

library is colored in blue and tidyverse in green. When I knit to html, they appear in dark red and red respectively. How can I knit my html keeping the original color for the whole document? In the result

Further reading

R Markdown: The Definitive Guide

  • Related