Description Usage Arguments Examples
These helpers provide useful wrappers around cat()
: most importantly
they all set sep = ""
, and cat_line()
automatically adds a newline.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
... |
For |
col, background_col, bullet_col |
Colours for text, background, and bullets respectively. |
file |
Output destination. Defaults to standard output. |
bullet |
Name of bullet character. Indexes into symbol |
x |
An object to print. |
1 2 3 4 | cat_line("This is ", "a ", "line of text.", col = "red")
cat_bullet(letters[1:5])
cat_bullet(letters[1:5], bullet = "tick", bullet_col = "green")
cat_rule()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.