ansi_to_html: Convert ANSI highlighted strings to HTML

Description Usage Arguments Value

View source: R/html.R

Description

Convert ANSI highlighted strings to HTML

Usage

1
ansi_to_html(text, fullpage = TRUE, collapse = TRUE)

Arguments

text

Character vector of ANSI highlighted strings.

fullpage

Whether to include a minimal HTML header and footer in the output.

collapse

Whether to collapse the character vector to a single string before the conversion.

Value

Character vector of HTML text.


r-lib/ansistrings documentation built on March 7, 2020, 10:13 p.m.