@@ -48,30 +48,6 @@ function getInfoContent() {
4848 '<script src="plotly.js" charset="utf-8"></script>' ,
4949 '```' ,
5050 '' ,
51- '### To support MathJax' ,
52- '' ,
53- '*Before* the plotly.js script tag, add:' ,
54- '' ,
55- '```html' ,
56- '<script src="mathjax/MathJax.js?config=TeX-AMS-MML_SVG"></script>' ,
57- '```' ,
58- '' ,
59- 'You can get the relevant MathJax files from the internet e.g.' ,
60- '"https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js?config=TeX-AMS-MML_SVG.js"' ,
61- '' ,
62- 'By default, plotly.js will modify the global MathJax configuration on load.' ,
63- 'This can lead to undesirable behavior if plotly.js is loaded alongside' ,
64- 'other libraries that also rely on MathJax. To disable this global configuration' ,
65- 'process, set the `MathJaxConfig` property to `\'local\'` in the `window.PlotlyConfig`' ,
66- 'object. This property must be set before the plotly.js script tag, for example:' ,
67- '' ,
68- '```html' ,
69- '<script>' ,
70- ' window.PlotlyConfig = {MathJaxConfig: \'local\'}' ,
71- '</script>' ,
72- '<script src="plotly.min.js"></script>' ,
73- '```' ,
74- '' ,
7551 '### To include localization' ,
7652 '' ,
7753 'Plotly.js defaults to US English (en-US) and includes British English (en) in the standard bundle.' ,
0 commit comments