drop_style: Remove a style

View source: R/machinery.R

drop_styleR Documentation

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

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

r-pkgs/crayon documentation built on Nov. 9, 2023, 4:33 p.m.