Description Usage Arguments Value Examples
Construct a list of replacement formatting for a given markup format
1 2 3 4 5 6 7 8 |
color |
A vector of text colors |
background |
A vector of background colors |
bold |
A logical vector |
italic |
A logical vector |
underline |
A logical vector |
A length-2 list
1 2 3 4 | # html
format_html(color = c("black", "red", "green"))
# latex
format_latex(background = c("black", "red", "green"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.