Skip to content

Bump MathJax support from v2/v3 to v3/v4#7857

Draft
emilykl wants to merge 2 commits into
v4.0from
upgrade-mathjax-v3-v4
Draft

Bump MathJax support from v2/v3 to v3/v4#7857
emilykl wants to merge 2 commits into
v4.0from
upgrade-mathjax-v3-v4

Conversation

@emilykl

@emilykl emilykl commented Jun 22, 2026

Copy link
Copy Markdown
Contributor

Draft, not ready for review

Closes #7598

@archmoj archmoj left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

What is the default version of mathjax in notebooks? Is it still at v2? If that's the case then we may not able to drop support for v2.

Comment thread package.json
Comment on lines +120 to +121
"@plotly/mathjax-v3": "npm:mathjax@3.2.2",
"@plotly/mathjax-v4": "npm:mathjax@^4.1.2",

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

The packages looks quite confusing.
#7394 seems to hide a security issue?
Is that still relevant?

@emilykl

emilykl commented Jun 25, 2026

Copy link
Copy Markdown
Contributor Author

What is the default version of mathjax in notebooks? Is it still at v2? If that's the case then we may not able to drop support for v2.

@archmoj JupyterLab 4.0 (released May 2023) uses MathJax v3, thankfully. It looks like there's also a workaround Python package from Jupyter which allows using MathJax v3 with earlier JupyterLab versions, but I haven't tried it. See my comment here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants