./www/R-downlit, Syntax Highlighting and Automatic Linking

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 0.4.4, Package name: R-downlit-0.4.4, Maintainer: pkgsrc-users

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.


Master sites: (Expand)


Version history: (Expand)


CVS history: (Expand)


   2024-12-30 11:26:11 by Makoto Fujiwara | Files touched by this commit (2)
Log message:
(www/R-downlit) Updated 0.4.0 to 0.4.4

# downlit 0.4.4

* Use simpler parsing algorithm for R 4.0, which avoids crash with
  certain UTF-8 characters (#189).

# downlit 0.4.3

* Fix for upcoming R-devel (#169).

# downlit 0.4.2

* `highlight()` no longer errors if a package imputed to have been attached
  isn't installed.

* Correctly link `requireNamespace(MASS)` (#151).

# downlit 0.4.1

## Syntax highlighting

* Supports new base pipe `|>` syntax (#126).

* Every line get its own `<span>` to match pandoc (#122).

* Multi-line tokens (e.g. strings) now get a `<span>` per line (#139).

* Very long strings or other tokens are no longer truncated (@dmurdoch, #128).

## Auto-linkg

* Function calls (in inline and code blocks) will no longer to non-function
  topics (#135).

* Re-exports detection no longer relies on name of `.Rd` file (#134).

* Link to correct topic with `::()` and `utils::help()` (@IndrajeetPatil, #131).

* Generate correct link for Bioconductor vignettes (@zeehio, #145)
   2022-12-18 10:25:53 by Makoto Fujiwara | Files touched by this commit (3)
Log message:
(www/R-downlit) import R-downlit-0.4.0

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.