Skip to content
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

fix: mock v2 api of MathJax #531

Conversation

maartenbreddels
Copy link
Member

This is a workaround or fix for #516

There are a few problems:

In this PR I mock the v2 API a bit, and rerender all math. I am not sure we should do this.

cc @jasongrout
We could go mathjax v3 on all platforms, notebook, lab, widgets, or revert to v2 mathjax in voila.

@jasongrout
Copy link
Member

The JLab issue for upgrading to MathJax 3 is jupyterlab/jupyterlab#7218

The non-core extension to upgrade to MathJax 3 is https://github.com/jupyterlab/jupyter-renderers/tree/master/packages/mathjax3-extension

@maartenbreddels
Copy link
Member Author

Great, that example is useful, it wasn't easy figuring out the API.

maartenbreddels added a commit to widgetti/solara that referenced this pull request Jun 15, 2023
When a description changed, update the latex rendering.

Similar to voila-dashboards/voila#531
maartenbreddels added a commit to widgetti/solara that referenced this pull request Jun 15, 2023
When a description changed, update the latex rendering.

Similar to voila-dashboards/voila#531
maartenbreddels added a commit to widgetti/solara that referenced this pull request Jun 15, 2023
When a description changed, update the latex rendering.

Similar to voila-dashboards/voila#531
maartenbreddels added a commit to widgetti/solara that referenced this pull request Jun 15, 2023
When a description changed, update the latex rendering.

Similar to voila-dashboards/voila#531
maartenbreddels added a commit to widgetti/solara that referenced this pull request Jun 15, 2023
When a description changed, update the latex rendering.

Similar to voila-dashboards/voila#531
maartenbreddels added a commit to widgetti/solara that referenced this pull request Jun 15, 2023
When a description changed, update the latex rendering.

Similar to voila-dashboards/voila#531
maartenbreddels added a commit to widgetti/solara that referenced this pull request Jun 16, 2023
When a description changed, update the latex rendering.

Similar to voila-dashboards/voila#531
maartenbreddels added a commit to widgetti/solara that referenced this pull request Jun 16, 2023
When a description changed, update the latex rendering.

Similar to voila-dashboards/voila#531
maartenbreddels added a commit to widgetti/solara that referenced this pull request Jun 16, 2023
When a description changed, update the latex rendering.

Similar to voila-dashboards/voila#531
maartenbreddels added a commit to widgetti/solara that referenced this pull request Jun 16, 2023
When a description changed, update the latex rendering.

Similar to voila-dashboards/voila#531
@maartenbreddels
Copy link
Member Author

Might be good to take a look at some of the commits in widgetti/solara#155 where I continued this work.

maartenbreddels added a commit to widgetti/solara that referenced this pull request Jun 16, 2023
When a description changed, update the latex rendering.

Similar to voila-dashboards/voila#531
@trungleduc trungleduc closed this Jan 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants