Learn R Programming

parsermd (version 0.1.3)

render: Render parsermd objects using rmarkdown::render()

Description

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, ...)

Value

Returns the results of rmarkdown::render().

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()