opt_template: knitr option templates

Description Usage Arguments Details Value

Description

knitr chunk option templates to be used with the knitr opts.label parameter.

Dispatches for the option templates to be set in knitr.

Usage

1
2
3
4
5
6
7

Arguments

out.format

Name of out.format as given by opts_knit$get("out.format")

name

name of the hook; used to prefix option templates.

Details

Calls knitr::opts_template$set() for each builtin option template for the matching out.format.

Value

block_hook returns the hook_ function for out.format.


Thell/knitLiteral documentation built on May 9, 2019, 4:28 p.m.