text_size | R Documentation |
The text_size()
function adjusts the font size of a tag element.
text_size(x, size)
x |
A tag element or .style pronoun. |
size |
A number specifying a font size for the text. One of,
|
An object of the same type as x
.
library(htmltools)
p(
.style %>%
text_size(1),
"Largest size"
)
p(
.style %>%
text_size(6),
"Smallest size"
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.