-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Version changes for v7.0.0rc0 #5684
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -280,12 +280,14 @@ def to_html( | |
| include_mathjax = include_mathjax.lower() | ||
|
|
||
| mathjax_template = """\ | ||
| <script src="{url}?config=TeX-AMS-MML_SVG"></script>""" | ||
| <script src="{url}"></script>""" | ||
|
|
||
| if include_mathjax == "cdn": | ||
| mathjax_script = ( | ||
| mathjax_template.format( | ||
| url=("https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js") | ||
| url=( | ||
| "https://cdnjs.cloudflare.com/ajax/libs/mathjax/3.2.2/es5/tex-svg.min.js" | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It probably doesn't matter, but we list jsdelivr in our plotly.js README: https://cdn.jsdelivr.net/npm/mathjax@3.2.2/es5/tex-svg.js
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I feel more comfortable staying with the same CDN provider. I'm happy to open a PR to update the plotly.js README to match. |
||
| ) | ||
| ) | ||
| + _mathjax_config | ||
| ) | ||
|
|
||
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Uh oh!
There was an error while loading. Please reload this page.