Examples for 'cli::make_ansi_style'


Create a new ANSI style

Aliases: make_ansi_style

Keywords:

### ** Examples

make_ansi_style("orange")
<cli_ansi_style>
Example output
make_ansi_style("#123456")
<cli_ansi_style>
Example output
make_ansi_style("orange", bg = TRUE)
<cli_ansi_style>
Example output
orange <- make_ansi_style("orange")
orange("foobar")
<cli_ansi_string>
[1] foobar
cat(orange("foobar"))
foobar

[Package cli version 3.6.3 Index]