downlit: Syntax Highlighting and Automatic Linking (original) (raw)

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
BugReports: https://github.com/r-lib/downlit/issues
License: MIT + file
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, bookdown, DBI, qatarcars, rgl, rmarkdown, rosetta

Linking:

Please use the canonical formhttps://CRAN.R-project.org/package=downlitto link to this page.