| strip_ansi | R Documentation |
Removes the SGR / CSI escapes commonly produced by fmt() (and by any
other tool that writes coloured terminal output). Safe to call on plain
input - returns it unchanged.
strip_ansi(x)
x |
Character: Input. |
Character: x with ANSI escapes removed.
EDG
strip_ansi(fmt("hi", col = "red"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.