Wraps capture groups in regex pattern in span tags to colorize with CSS
1 | wrap_regex(pattern, escape = TRUE, exact = TRUE)
|
pattern |
Regex pattern to look for |
escape |
Escape HTML-related characters in |
exact |
Should the regex pattern be displayed as entered by the user
into R console or source (default)? When |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.