Description Usage Arguments Value Author(s) Examples
This function is an alternative to the html_document
formats to create HTML document from R Markdown. It is intended to generate
single HTML pages that are based on the US Web Design Standards and primarily
scientific content. Attempts have been made to mirror a scientific journal
while maintaining the style design principles outlined in the web design
standards.
1 | html_uswds(highlight = NULL, css = NULL, keep_md = FALSE, ...)
|
css |
Additional CSS file to be merged in the document. It will NOT overwrite the CSS from the themes. |
... |
Additional arguments passed to |
R Markdown output format to pass to render
.
Josh M London
1 2 3 4 5 6 | ## Not run:
doc = system.file("rmarkdown", "templates", "usweb",
"skeleton", "skeleton.Rmd", package = "uswebr")
rmarkdown::render(doc, html_uswds(), output_dir = tempdir())
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.