View source: R/cass_highlight.R
cass_highlight | R Documentation |
Takes a character vector and returns it with matches of pattern wrapped in html tags used for highlighting
cass_highlight(string, pattern, ignore_case = TRUE)
string |
A character vector. |
ignore_case |
Defaults to TRUE. |
param |
Pattern to match. |
cass_highlight(
string = c(
"The R Foundation for Statistical Computing",
"R is free software and comes with ABSOLUTELY NO WARRANTY"
),
pattern = "foundation|software|warranty"
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.