toHTML: Convert text to HTML element

Description Usage Arguments Examples

View source: R/sendEmail.R

Description

Convert text to HTML element

Usage

1
toHTML(x, tag = "p")

Arguments

x

A string of text

tag

Defaults to "p". May be any of "a", "em", "strong", "cite", "q", "dfn", "abbr", "data", "time", "code", "var", "samp", "kbd", "mark", "ruby", "rb", "rt", "rp", "rtc", "bdi", "bdo", "span", "br", "wbr", "small", "i", "b", "u", "s", "sub", "sup", "p", "pre", "blockquote", "ol", "ul", "li", "dl", "dt", "dd", "figure", "figcaption", "div", "main", "hr"

Examples

1
2
toHTML("hello")
toHTML("hello", "h2")

ivanliu1989/RQuant documentation built on Sept. 13, 2019, 11:53 a.m.