| fmt_gradient | R Documentation |
Gradient text
fmt_gradient(x, colors, bold = FALSE, output_type = c("ansi", "html", "plain"))
x |
Character: Text to colorize. |
colors |
Character vector: Colors to use for the gradient. |
bold |
Logical: If TRUE, make text bold. |
output_type |
Character: Output type ("ansi", "html", "plain"). |
Character: Text with gradient color applied.
EDG
fmt_gradient("Gradient Text", colors = c("blue", "red")) |> message()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.