powered by
Combine 'HTML' classes to produce nice, clean 'HTML' class string via combine_html_class, or to remove a class via remove_html_class
combine_html_class
remove_html_class
combine_html_class(...)remove_html_class(target, class)
remove_html_class(target, class)
A character string of new 'HTML' class
one or more characters, classes to combine; duplicated classes will be removed
characters, class list
one or more characters, classes to be removed from target
target
# Combine classes "a b c d e" combine_html_class("a", "b a", c("c", " d", "b"), list("e ", "a")) # Remove class remove_html_class("a b c e", c("b", "c "))
Run the code above in your browser using DataLab