View source: R/text-alignment.R
text_alignment | R Documentation |
The text_alignment()
function adjusts how the text within a tag element is
aligned.
text_alignment(x, ...)
x |
A tag element or .style pronoun. |
... |
A character string specifying an alignment. One of,
Use name-value pairs to specify breakpoints. |
An object of the same type as x
.
Other text utilities:
text_break()
,
text_color()
,
text_decoration()
,
text_height()
,
text_selection()
,
text_style()
,
text_transform()
,
text_weight()
,
text_wrap()
library(htmltools)
div(
.style %>%
text_alignment("left")
)
div(
.style %>%
text_alignment("center")
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.