bold: Make text bold

View source: R/fmt.R

boldR Documentation

Make text bold

Description

A fmt() convenience wrapper for making text bold.

Usage

bold(text, reset_code = "\033[22m", output_type = NULL)

Arguments

text

Character: Text to make bold.

reset_code

Character: ANSI reset code to use after formatting.

output_type

Character ("ansi", "html", "plain") or NULL: Output type. If NULL, resolved via get_output_type().

Value

Character: Formatted text with bold styling

Author(s)

EDG

Examples

message(bold("This is bold!"))

rtemis.core documentation built on Sept. 20, 2026, 9:06 a.m.