Package: downlit 0.4.4.9000

Hadley Wickham

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.

Authors:Hadley Wickham [aut, cre], Posit Software, PBC [cph, fnd]

downlit_0.4.4.9000.tar.gz
downlit_0.4.4.9000.zip(r-4.5)downlit_0.4.4.9000.zip(r-4.4)downlit_0.4.4.9000.zip(r-4.3)
downlit_0.4.4.9000.tgz(r-4.5-any)downlit_0.4.4.9000.tgz(r-4.4-any)downlit_0.4.4.9000.tgz(r-4.3-any)
downlit_0.4.4.9000.tar.gz(r-4.5-noble)downlit_0.4.4.9000.tar.gz(r-4.4-noble)
downlit_0.4.4.9000.tgz(r-4.4-emscripten)downlit_0.4.4.9000.tgz(r-4.3-emscripten)
downlit.pdf |downlit.html
downlit/json (API)
NEWS

# Install 'downlit' in R:
install.packages('downlit', repos = c('https://r-lib.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/r-lib/downlit/issues

Pkgdown site:https://downlit.r-lib.org

On CRAN:

Conda:

syntax-highlighting

12.72 score 90 stars 176 packages 364 scripts 144k downloads 14 exports 16 dependencies

Last updated 9 months agofrom:cdaa2f1326. Checks:9 OK. Indexed: yes.

TargetResultLatest binary
Doc / VignettesOKMar 07 2025
R-4.5-winOKMar 07 2025
R-4.5-macOKMar 07 2025
R-4.5-linuxOKMar 07 2025
R-4.4-winOKMar 07 2025
R-4.4-macOKMar 07 2025
R-4.4-linuxOKMar 07 2025
R-4.3-winOKMar 07 2025
R-4.3-macOKMar 07 2025

Exports:autolinkautolink_urlclasses_chromaclasses_pandocdownlit_html_nodedownlit_html_pathdownlit_md_pathdownlit_md_stringevaluate_and_highlighthighlighthref_articlehref_packagehref_topicis_low_change

Dependencies:briocachemclidescdigestevaluatefansifastmapgluelifecyclememoiseR6rlangvctrswithryaml

Readme and manuals

Help Manual

Help pageTopics
Automatically link inline codeautolink autolink_url
Syntax highlight and link an HTML pagedownlit_html_node downlit_html_path
Syntax highlight and link a md documentdownlit_md_path downlit_md_string
Evaluate code and syntax highlight the resultsevaluate_and_highlight
Highlight and link a code blockclasses_chroma classes_pandoc highlight
Compare two recorded plotsis_low_change