styles | R Documentation |
You can use this function to list all availables crayon styles,
via names(styles())
, or to explicitly apply an ANSI
escape seauence to a string.
styles()
A named list. Each list element is a list of two strings, named ‘open’ and ‘close’.
crayon()
for the beginning of the crayon manual.
names(styles())
cat(styles()[["bold"]]$close)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.