style | R Documentation |
See names(styles)
, or the crayon manual for available styles.
style(string, as = NULL, bg = NULL)
string |
Character vector to style. |
as |
Style function to apply, either the function object,
or its name, or an object to pass to |
bg |
Background style, a style function, or a name that
is passed to |
Styled character vector.
## These are equivalent
style("foobar", bold)
style("foobar", "bold")
bold("foobar")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.