pretty_print_bold_string: Pretty print a bold string

View source: R/print.R

pretty_print_bold_stringR Documentation

Pretty print a bold string

Description

Prints a bold string only when html.output is enabled. Otherwise, it prints a normal string. The the ">" sign can be appended if nice output in an R notebook is desired.

Usage

pretty_print_bold_string(string, with.gt = TRUE, html.output = TRUE)

Arguments

string

a string

with.gt

logical. Determines if the ">" sign will be appended for nice printing in an R notebook. (use with the chuck option results = 'asis'). Default value: TRUE.

html.output

logical. If TRUE, it encapsulates the string with the bold tags for an HTML document. Default value: TRUE.

See Also

pretty_print_string


usefun documentation built on Sept. 15, 2024, 1:06 a.m.