Skip to content

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

Closed
emilykl wants to merge 14 commits into
v4.0from
upgrade-mathjax-v3-v4
Closed

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

Conversation

@emilykl

@emilyklemilykl commented Jun 22, 2026

Copy link
Copy Markdown
Contributor

Draft, not ready for review

Closes#7598

@archmojarchmoj 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 threadpackage.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

Copy link
Copy Markdown
ContributorAuthor

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.

@emilykl
emilyklforce-pushed the upgrade-mathjax-v3-v4 branch from 72883c0 to da2c2a3CompareJuly 7, 2026 18:13
@emilykl

Copy link
Copy Markdown
ContributorAuthor

Closing in favor of #7898.

@emilyklemilykl closed this Jul 10, 2026
Sign up for freeto 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

@emilykl@archmoj