custom syntax highlighting rmd
问题 I would like to be able to customize the syntax highlighting used with RMarkdown so that I can, for example, draw attention to functions coming from a certain package. I noticed an option mentioned in the knitr NEWS document which says this option can be set via: opts_knit$set(highr.opts = list(markup = cmd_mine)) for .Rnw and .Rhtml documents. However, when I set this option in my .Rmd file (simplified here to messing with the highlight for numerical constants) ```{r setup, include=TRUE} #