> # explicit package
> cat(highlight("MASS::addterm()"))
MASS::addterm (https://rdrr.io/pkg/MASS/man/addterm.html)()

> cat(highlight("MASS::addterm"))
MASS::addterm (https://rdrr.io/pkg/MASS/man/addterm.html)

> cat(highlight("?MASS::addterm"))
?MASS::addterm (https://rdrr.io/pkg/MASS/man/addterm.html)

> # implicit package
> cat(highlight("library(MASS)"))
library (https://rdrr.io/r/base/library.html)(MASS (http://www.stats.ox.ac.uk/pub/MASS4/))

> cat(highlight("addterm()"))
addterm (https://rdrr.io/pkg/MASS/man/addterm.html)()

> cat(highlight("median()"))
median (https://rdrr.io/r/stats/median.html)()

> # local package
> cat(highlight("test::foo()"))
test::foo()

> # operators / special syntax
> cat(highlight("1 + 2 * 3"))
1 + 2 * 3

> cat(highlight("x %in% y"))
x %in% (https://rdrr.io/r/base/match.html) y

> cat(highlight("if (FALSE) 1"))
if (FALSE) 1

> cat(highlight("f <- function(x = 'a') {}"))
f <- function(x = 'a') {}

> # ansi escapes + unicode
> cat(highlight("# \033[34mblue\033[39m"))
# blue

