R/read-inline-style.R
read_inline_style.Rd
Parse CSS declaration block (aka inline style) to a named list of CSS declarations
read_inline_style(inline_style)
inline_style | set of ";"-delmited declarations i.e. an inline style, or a CSS declaration block: e.g. "stroke:red; fill: black; stroke-width:12" |
---|
named list of declarations (i.e. property/value pairs)
e.g. list(stroke = 'red', fill = 'black', 'stroke-width' = 12)