italic: Make text italic

View source: R/fmt.R

italicR Documentation

Make text italic

Description

A fmt() convenience wrapper for making text italic.

Usage

italic(text, reset_code = "\033[23m", output_type = NULL)

Arguments

text

Character: Text to make italic.

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 italic styling

Author(s)

EDG

Examples

message(italic("italic text"))

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