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 June 22, 2024, 9:39 a.m.