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))

rmdpartials documentation built on July 2, 2020, 3:22 a.m.