downlit: 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.
| Version: | 0.4.5 |
| Depends: | R (≥ 4.0.0) |
| Imports: | brio,desc,digest,evaluate,fansi,memoise,rlang,vctrs,withr,yaml |
| Suggests: | covr,htmltools,jsonlite,MASS,MassSpecWavelet,pkgload,rmarkdown,testthat (≥ 3.0.0),xml2 |
| Published: | 2025-11-14 |
| DOI: | 10.32614/CRAN.package.downlit |
| Author: | Hadley Wickham [aut, cre], Posit Software, PBC [cph, fnd] |
| Maintainer: | Hadley Wickham <hadley at posit.co> |
| BugReports: | https://github.com/r-lib/downlit/issues |
| License: | MIT + fileLICENSE |
| URL: | https://downlit.r-lib.org/,https://github.com/r-lib/downlit |
| NeedsCompilation: | no |
| Materials: | README,NEWS |
| CRAN checks: | downlit results |
Documentation:
Downloads:
Reverse dependencies:
| Reverse imports: | distill,esquisse,GCEstim,link,pkgdown |
| Reverse suggests: | altdoc,blockr.core,bookdown,DBI,qatarcars,rgl,rmarkdown |
Linking:
Please use the canonical formhttps://CRAN.R-project.org/package=downlitto link to this page.