View source: R/selectControl.R
katex | R Documentation |
Create an object to be decoded by KaTeX.
katex(x)
x |
string, some KaTeX code (this is similar to LaTeX) |
A list containing the url-encoding of x
.
library(shinySelect) choices <- HTMLchoices( values = list("alpha", "beta", "gamma"), labels = list(katex("\\alpha"), katex("\\beta"), katex("\\gamma")) )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.