Learn R Programming

shinySelect (version 1.3.0)

katex: KaTeX code

Description

Create an object to be decoded by KaTeX.

Usage

katex(x)

Value

A list containing the url-encoding of x.

Arguments

x

string, some KaTeX code (this is similar to LaTeX)

Examples

Run this code
library(shinySelect)
choices <- HTMLchoices(
  values = list("alpha", "beta", "gamma"),
  labels = list(katex("\\alpha"), katex("\\beta"), katex("\\gamma"))
)

Run the code above in your browser using DataLab