display | R Documentation |
The display()
function adjusts how a tag element and its contents are
rendered.
display(x, ...)
x |
A tag element or .style pronoun. |
... |
A character string specifying a display type. One of,
|
An object of the same type as x
.
library(htmltools)
div(
.style %>%
display("flex") %>%
flex_justify("center"),
"Powerful stuff"
)
div(
.style %>%
display(
xs = "inline",
md = "block"
),
"Block and roll"
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.