style_convert: Format and parse style strings

style_convertR Documentation

Format and parse style strings

Description

Functions to convert a style string to a named list and back.

Usage

strfstyle(...)

strpstyle(x)

Arguments

...

Named strings and logicals or one named list. Colors and attributes.

x

A string.

Value

A string or named list.

Examples

## Not run: 
strfstyle(fg = "red", bg = "#00ff00", blink = TRUE, align = FALSE)
strpstyle("fg=red,bg=#00ff00,blink,noalign")

## End(Not run)

datascienceworkshops/tmuxr documentation built on April 26, 2024, 5:26 a.m.