htmlToken | R Documentation |
Pre-processes a html token not recognized as spork. Escapes the common names for Greek letters and escapes html metacharacters.
htmlToken(
x,
token_open = getOption("html_token_open", ""),
token_close = getOption("html_token_close", ""),
math_open = getOption("html_math_open", ""),
math_close = getOption("html_math_close", ""),
label_open = getOption("html_label_open", ""),
label_close = getOption("html_label_close", ""),
...
)
x |
character |
token_open , token_close |
these wrap the entire token (used once); by default the token is text-like |
math_open , math_close |
these wrap math-like portions of the token; the defaults try to give upright characters (non-italic) which may not work for Greek symbols |
label_open , label_close |
these re-wrap math-like portions of the token |
... |
ignored arguments |
html
Other html:
[.html()
,
[[.html()
,
as_html()
,
as_html.greek()
,
as_html.spar()
,
as_html.spork()
,
html2xml()
Other interface:
as.expression.plotmath()
,
as_html.spar()
,
as_html.spork()
,
as_latex.spar()
,
as_latex.spork()
,
as_plotmath.spar()
,
as_plotmath.spork()
,
as_previews.spork()
,
as_spork.character()
,
latexToken()
,
plotmathToken()
htmlToken('foo')
htmlToken('alpha')
htmlToken('Alpha')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.