officer (version 0.1.2)

ftext: formatted text

Description

Format a chunk of text with text formatting properties.

Usage

ftext(text, prop)

# S3 method for ftext format(x, type = "console", ...)

# S3 method for ftext print(x, ...)

Arguments

text
text value
prop
formatting text properties
x
ftext object
type
output format, one of wml, pml, html, console, text.
...
unused

Examples

Run this code
ftext("hello", fp_text())

Run the code above in your browser using DataCamp Workspace