katex {shinySelect}R Documentation

KaTeX code

Description

Create an object to be decoded by KaTeX.

Usage

katex(x)

Arguments

x

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

Value

A list containing the url-encoding of x.

Examples

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

[Package shinySelect version 1.3.0 Index]