knit_to_html: Knit a document to an HTML character string

Description Usage Arguments Value

View source: R/knit_to_html.R

Description

knit_to_html() creates properly formatted HTML and metadata from an R markdown file.

Usage

1
knit_to_html(input, parameters = list(), self_contained = FALSE)

Arguments

input

Path to the input R markdown file.

self_contained

Should the output HTML reference external assets or should they be compiled?

params

Parameters to pass to rmarkdown::render().

Value

Returns properly formatted HTML derived from an R Markdown file.


polymathematic/Longform documentation built on Jan. 16, 2020, 10:12 p.m.