render_asis_chunk: Render an HTML chunk with classes

Description Usage Arguments Details Value Examples

Description

Called automatically by render_chunk.

Usage

1

Arguments

x

Character. Chunk output.

options

List. Options as passed from knitr.

inline

Logical. As passed from knitr. Is the result inline?

...

Other parameters passed from knitr.

Details

Currently called only when results is set to "asis", and even then render_html_chunk is used to print a knitr_kable. Function is provided here for fine-grained control as needed.

Value

knitr object for printing.

Examples

1
2
3
4
5
6
7
## Not run: 
# In knitr chunk options:
```{r render=surprisinglytidy::render_asis_chunk}
# some code here
```

## End(Not run)

BenjaminWolfe/surprisinglytidy documentation built on Nov. 22, 2019, 11:37 a.m.