Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

prGetStyle

Gets the CSS style element


Description

A function for checking, merging, and more with a variety of different style formats.

Usage

prGetStyle(...)

Arguments

...

All styles here are merged with the first parameter. If you provide a name, e.g. styles="background: blue", align="center" the function will convert the align into proper align: center.

styles

The styles can be provided as vector, named vector, or string.

Value

string Returns the codes merged into one string with correct CSS ; and : structure.

See Also


htmlTable

Advanced Tables for Markdown/HTML

v2.1.0
GPL (>= 3)
Authors
Max Gordon [aut, cre], Stephen Gragg [aut], Peter Konings [aut]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.