Description Usage Arguments Value Author(s) See Also Examples
This function generates information about the layout of HTML content.
1 2 3 4 5 6 7 8 9 10 11 | flow(html, ...)
## Default S3 method:
flow(html, ..., css="", assets=NULL)
## S3 method for class 'htmlDocument'
flow(html, width=NULL, height=NULL,
fonts="sans", device=currentDevice(),
engine=getOption("layoutEngine.backend"), ...)
## S3 method for class 'htmlElement'
flow(html, width=NULL, height=NULL,
fonts="sans", device=currentDevice(),
engine=getOption("layoutEngine.backend"), ...)
|
html |
A character vector, an |
css |
A character vector describing CSS styling for the HTML content. |
assets |
Zero or more paths to external assets (e.g., image files) for the HTML content. |
width, height |
grid units specifying the total width and height to use for the layout. |
fonts |
A character vector containing R font family names. |
device |
The name of the device that will be used to render the layout. |
engine |
The backend that will perform the layout (e.g.,
|
... |
Arguments used by methods. |
A "flowedhtml"
object.
Paul Murrell
1 | flow("<p>test</p>")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.