wrap_html returns a string with styling wrappers from a list of style tag names and values.

wrap_html(x, opts_list, type = "html")

Arguments

x

The string to be wrapped

opts_list

The html options to include, in named vector form

type

The style of display, defaults to "html" (currently nothing else is supported, sorry)