text_style | R Documentation |
The text_style()
function adjusts the style of text in a tag element.
text_style(x, style)
x |
A tag element or .style pronoun. |
style |
A character string specifying the text style. 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_transform()
,
text_weight()
,
text_wrap()
library(htmltools)
p(
.style %>%
text_style("italic"),
"Italic text"
)
p(
.style %>%
text_style("normal"),
"Normal text"
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.