Syntax Highlighting and Automatic Linking

Syntax highlighting of R code, specifically designed for the needs of 'RMarkdown' packages like 'pkgdown', 'hugodown', and 'bookdown'. It includes linking of function calls to their documentation on the web, and automatic translation of ANSI escapes in output to the equivalent HTML.


Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.


0.2.1 by Hadley Wickham, a year ago,

Report a bug at

Browse source code at

Authors: Hadley Wickham [aut, cre] , RStudio [cph]

Documentation:   PDF Manual  

MIT + file LICENSE license

Imports brio, digest, evaluate, fansi, rlang, vctrs, yaml

Suggests rmarkdown, jsonlite, MASS, testthat, covr, pkgload, xml2

Imported by distill, pkgdown.

Suggested by bookdown, googledrive, rgl.

See at CRAN