rmarkdown (version 0.1.2)

knitr_options_html: Knitr options for an HTML output format

Description

Define knitr options for an R Markdown output format that creates HTML output.

Usage

knitr_options_html(fig_width, fig_height, fig_retina)

Arguments

fig_width

Default width (in inches) for figures

fig_height

Default width (in inches) for figures

fig_retina

Scaling to perform for retina displays (defaults to 2, which currently works for all widely used retina displays). Note that this only takes effect if you are using knitr >= 1.5.21. Set to NULL to prevent retina scaling.

Value

An list that can be passed as the knitr argument of the output_format function.

See Also

knitr_options, output_format