Learn R Programming

webex (version 0.9.2)

webex_default: Create default webex document

Description

This function wraps rmarkdown::html_document to configure compilation to embed the default webex CSS and JavaScript files in the resulting HTML.

Usage

webex_default(...)

Arguments

...

Additional function arguments to pass to html_document.

Details

Call this function as the output_format argument for the render function when compiling HTML documents from RMarkdown source.

See Also

render, html_document

Examples

Run this code
# NOT RUN {
# copy the webex 'R Markdown' template to a temporary file
# }
# NOT RUN {
my_rmd <- tempfile(fileext = ".Rmd")
rmarkdown::draft(my_rmd, "webex", "webex")

# compile it
rmarkdown::render(my_rmd, webex::webex_default())

# view the result
browseURL(sub("\\.Rmd$", ".html", my_rmd))
# }

Run the code above in your browser using DataLab