Skip to contents

Object contents are converted to a character vector and written to a temporary directory before rendering.

Note that this function has the potential to overwrite existing output files (e.g. .html, .pdf, etc).

Usage

render(x, name = NULL, ...)

Arguments

x

Object to render, e.g. a rmd_ast, rmd_tibble, character vector, etc.

name

Name of the output file, if not given it will be inferred from the name of x.

...

Any additional arguments to be passed to rmarkdown::render()

Value

Returns the results of rmarkdown::render().