Skip to content

Install MathJax using npm and bump version from 2.3 to 2.7.5 #5494

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

Merged
merged 7 commits into from
Feb 18, 2021
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@
"karma-viewport": "^1.0.7",
"lodash": "^4.17.20",
"madge": "^3.12.0",
"mathjax": "2.7.9",
"mathjax": "2.7.5",
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The reason why we stick to 2.7.5 for now.
@nicolaskruchten commented on slack:

Let's target 2.7.5 for MathJax for now
this is what JupyterLab 2.x uses
so it's a good floor IMO
JupyterLab 3.x is on 2.7.9

"minify-stream": "^2.1.0",
"mkdirp": "^1.0.4",
"node-sass": "^5.0.0",
Expand Down
2 changes: 1 addition & 1 deletion tasks/stats.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ function getInfoContent() {
'```',
'',
'You can get the relevant MathJax files from the internet e.g.',
'"https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.9/MathJax.js?config=TeX-AMS-MML_SVG.js"',
'"https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js?config=TeX-AMS-MML_SVG.js"',
'',
'By default, plotly.js will modify the global MathJax configuration on load.',
'This can lead to undesirable behavior if plotly.js is loaded alongside',
Expand Down