font_colours | R Documentation |
Add colours and font formatting to console text.
font_black(..., collapse = " ")
font_blue(..., collapse = " ")
font_green(..., collapse = " ")
font_magenta(..., collapse = " ")
font_red(..., collapse = " ")
font_red_bg(..., collapse = " ")
font_white(..., collapse = " ")
font_yellow(..., collapse = " ")
font_subtle(..., collapse = " ")
font_silver(..., collapse = " ")
font_grey(..., collapse = " ")
font_bold(..., collapse = " ")
font_italic(..., collapse = " ")
font_underline(..., collapse = " ")
font_stripstyle(...)
... |
character (vector) |
collapse |
character to separate the text elements. Use |
Most colours are adapted based on the RStudio theme (dark/light).
cat(font_black("TEXT TEST"), "\n")
cat(font_red("TEXT TEST"), "\n")
cat(font_green("TEXT TEST"), "\n")
cat(font_blue("TEXT TEST"), "\n")
cat(font_bold("TEXT TEST"), "\n")
cat(font_italic("TEXT TEST"), "\n")
cat(font_underline("TEXT TEST"), "\n")
cat(font_red_bg(font_white("TEXT TEST")), "\n")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.