File tree Expand file tree Collapse file tree 1 file changed +21
-5
lines changed Expand file tree Collapse file tree 1 file changed +21
-5
lines changed Original file line number Diff line number Diff line change 1-
1+ # Using distributed files
22
33Import plotly.js as:
44
5- ``` js
5+ ``` html
66<script type =" text/javascript" src =" plotly.min.js" ></script >
77
88```
99
10- To support IE9, import plotly.js as:
10+ or the un-minified version as:
11+
12+ ``` html
13+ <script type =" text/javascript" src =" plotly.js" charset =" utf-8" ></script >
14+ ```
15+
16+ To support IE9, put:
1117
12- ``` js
18+ ``` html
1319<script >if (typeof window .Int16Array !== ' function' )document .write (" <scri" + " pt src='extras/typedarray.min.js'></scr" + " ipt>" ); </script >
14- < script type= " text/javascript" src= " plotly.min.js" >< / script>
1520```
21+
22+ before the plotly.js script tag.
23+
24+
25+ To add MathJax, put
26+
27+ ``` html
28+ <script type =" text/javascript" src =" mathjax/MathJax.js?config=TeX-AMS-MML_SVG" ></script >
29+ ```
30+
31+ before the plotly.js script tag. You can grab the relevant MathJax files in ` ./dist/extras/mathjax/ ` .
You can’t perform that action at this time.
0 commit comments