| htmlToken {spork} | R Documentation |
Process Html Token
Description
Pre-processes a html token not recognized as spork. Escapes the common names for Greek letters and escapes html metacharacters.
Usage
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", ""),
...
)
Arguments
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 |
Value
html
See Also
Other html:
[.html(),
[[.html(),
as_html.greek(),
as_html.spar(),
as_html.spork(),
as_html(),
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()
Examples
htmlToken('foo')
htmlToken('alpha')
htmlToken('Alpha')
[Package spork version 0.3.3 Index]