knit_print.emphatic: Automatically output emphatic objects to HTML knitted...

View source: R/knitr.R

knit_print.emphaticR Documentation

Automatically output emphatic objects to HTML knitted documents.

Description

Automatically output emphatic objects to HTML knitted documents.

Usage

knit_print.emphatic(x, style = list(), ...)

Arguments

x

emphatic object

style

html tag styling to apply to the <pre> wrapper for the returned HTML

...

other arguments passed to as.character.emphatic()

Value

a character vector suitable for output during an rmarkdown render

Examples

mtcars |>
  hl('red') |>
  knit_print.emphatic()

coolbutuseless/emphatic documentation built on Dec. 27, 2024, 1:18 a.m.