style_html: Helper for coloring text and applying other styles

View source: R/model-tree.R

style_htmlR Documentation

Helper for coloring text and applying other styles

Description

Helper for coloring text and applying other styles

Usage

style_html(txt, color = "black", ..., br_before = FALSE, br_after = FALSE)

Arguments

txt

text to format

color

color added to the text

...

Other HTML styling to add to the span call

br_before

Logical (T/F). If TRUE, add a new line before the text

br_after

Logical (T/F). If TRUE, add a new line after the text


metrumresearchgroup/bbr documentation built on March 29, 2025, 1:08 p.m.