knit_print.emphatic {emphatic}R 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()

[Package emphatic version 0.1.8 Index]