Description Usage Arguments Examples
Convert text to HTML element
1 | toHTML(x, tag = "p")
|
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" |
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.