htmlTemplate | R Documentation |
Process an HTML template and return a tagList object. If the template is a
complete HTML document, then the returned object will also have class
html_document
, and can be passed to the function
renderDocument()
to get the final HTML text.
htmlTemplate(filename = NULL, ..., text_ = NULL, document_ = "auto")
filename |
Path to an HTML template file. Incompatible with
|
... |
Variable values to use when processing the template. |
text_ |
A string to use as the template, instead of a file. Incompatible
with |
document_ |
Is this template a complete HTML document ( |
renderDocument()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.