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

View source: R/render.R

renderR Documentation

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

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


parsermd documentation built on May 29, 2024, 6:39 a.m.