page_section | R Documentation |
Adds a section (such as a row or column) to a website, optionally placing its elements within rows or columns.
page_section(..., type = "row", wraps = NA, sizes = NA,
breakpoints = NA, conditions = "", id = NULL)
... |
Elements to appear in the section. |
type |
The class of the top-level section; usually either |
wraps |
The class of wrapper to place elements in; either |
sizes |
The relative size of each wrapper, between 1 and 12, or |
breakpoints |
Bootstrap breakpoint of each wrapper; one of |
conditions |
A character for each element representing the conditions in which that should be showing
(e.g., |
id |
Unique ID of the section. |
See the Bootstrap grid documentation.
A character vector of the content to be added.
## Not run:
page_section(
"<p>column</p>",
"<p>row</p>",
type = "row",
wraps = c("col", "row")
)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.