Print knit_asis as rendered HTML in the viewer

# S3 method for 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

text <- paste(c("### Headline", "Text"), collapse = "\n") print(knitr::asis_output(text))
#> No viewer found, probably documenting or testing
#> ### Headline #> Text