View source: R/text-transform.R
text_transform | R Documentation |
The text_transform()
function adjusts the case of text in a tag element.
text_transform(x, transform)
x |
A tag element or .style pronoun. |
transform |
A character string specifying the transform. One of,
|
An object of the same type as x
.
Other text utilities:
text_alignment()
,
text_break()
,
text_color()
,
text_decoration()
,
text_height()
,
text_selection()
,
text_style()
,
text_weight()
,
text_wrap()
library(htmltools)
div(
.style %>%
text_transform("lowercase"),
"TRANSFORMED TO LOWERCASE"
)
div(
.style %>%
text_color(theme_warning()) %>%
text_transform("uppercase"),
"transformed to uppercase"
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.