# withMathJax

From shiny v0.9.1
by Winston Chang

##### Load the MathJax library and typeset math expressions

This function adds MathJax to the page and typeset the math expressions (if
found) in the content `...`

. It only needs to be called once in an app
unless the content is rendered *after* the page is loaded, e.g. via
`renderUI`

, in which case we have to call it explicitly every
time we write math expressions to the output.

##### Usage

`withMathJax(...)`

##### Examples

```
withMathJax(helpText("Some math here $$\\alpha+\\beta$$"))
# now we can just write "static" content without withMathJax()
div("more math here $$\\sqrt{2}$$")
```

*Documentation reproduced from package shiny, version 0.9.1, License: GPL-3*

### Community examples

Looks like there are no examples yet.