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())

crayon documentation built on March 27, 2022, 1:05 a.m.