print.knit_asis: Print 'knit_asis' as rendered HTML in the viewer

Description Usage Arguments Value Examples

View source: R/rmarkdown_helpers.R

Description

Print knit_asis as rendered HTML in the viewer

Usage

1
2
## S3 method for class 'knit_asis'
print(x, ...)

Arguments

x

the knit_asis object

...

ignored

Value

Invisibly returns its input, either prints its input or sends it to a viewer, if one is defined

Examples

1
2
3
text <- paste(c("### Headline",
"Text"), collapse = "\n")
print(knitr::asis_output(text))

rubenarslan/rmarkdownpartials documentation built on June 10, 2020, 11:17 p.m.