colorize: Use color in book text

View source: R/book_fcts.R

colorizeR Documentation

Use color in book text

Description

From: https://bookdown.org/yihui/rmarkdown-cookbook/font-color.html

Usage

colorize(x, color)

Arguments

x

A text to be colorized

color

the color (e.g. "red")

Value

a colorized version of string (html or latex)

Examples

colorize("ABC", "red")

msperlin/vdr documentation built on Nov. 25, 2022, 2:29 a.m.