Description Usage Arguments See Also Examples
This function makes it slightly easier to render TeX in a plotly graph –
it ensures that MathJax is included with the final result and also
ensures the provided string is surrounded with $
(this is what plotly.js
uses to declare a string as TeX).
1 | TeX(x)
|
x |
a character vector |
config
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.