File tree 1 file changed +21
-5
lines changed
1 file changed +21
-5
lines changed Original file line number Diff line number Diff line change 1
-
1
+ # Using distributed files
2
2
3
3
Import plotly.js as:
4
4
5
- ``` js
5
+ ``` html
6
6
<script type =" text/javascript" src =" plotly.min.js" ></script >
7
7
8
8
```
9
9
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:
11
17
12
- ``` js
18
+ ``` html
13
19
<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>
15
20
```
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