Skip to contents

Render text

Usage

formr_inline_render(text, self_contained = TRUE, dir = NULL, ...)

Arguments

text

that will be written to a tmp file and used as the input argument

self_contained

passed to markdown_custom_options

dir

directory in which the intermediate knit.Rmd and the rendered knit.html are written. Defaults to the working directory inside an OpenCPU/formr session and to tempdir() in ordinary R sessions; see formr_render() for details.

...

all other arguments passed to rmarkdown::render()

Value

A length-1 character string of rendered inline HTML.