Quantcast
Channel: RMarkdown - Change Inline Code Color *without changing workflow* - Stack Overflow
Viewing all articles
Browse latest Browse all 3

Answer by Arthur Berg for RMarkdown - Change Inline Code Color *without changing workflow*

$
0
0

For those looking for a fix to a simple R markdown document, adding this line changes the inline output to blue.

knitr::knit_hooks$set(inline=function(x){paste0("<span style=\"color: #0000FF;\">", x,"</span>")})

Viewing all articles
Browse latest Browse all 3

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>