crayon (version 1.3.2)

drop_style: Remove a style

Description

Remove a style

Usage

drop_style(style)

Arguments

style
The name of the style to remove. No error is given for non-existing names.

Value

Nothing.

See Also

Other styles: make_style

Examples

Run this code
make_style(new_style = "maroon", bg = TRUE)
cat(style("I am maroon", "new_style"), "\n")
drop_style("new_style")
"new_style" %in% names(styles())

Run the code above in your browser using DataLab