View source: R/helper_functions.r
make_colored | R Documentation |
This function applies a specified color to a given text string.
make_colored(x, color = NULL)
x |
The text string to be colored. |
color |
The color to be applied to the text. If NULL, the color codes will be removed. |
A colored text string or a text string with color codes removed.
make_colored("Hello, world!", "blue")
make_colored("Hello, world!", NULL)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.