Page MenuHomeSoftware Heritage

Properly bundle MathJax once version 3.0 is released
Closed, ResolvedPublic


Incoming Jupyter notebook rendering feature for swh-web/browse (D1415) uses MathJax
under the hood to perform math typesetting.

The current version of MathJax (2.7.5) does not play well with a module bundler tool like webpack [1]
so the current behavior is to load the library from a CDN.

Hopefully, the next major version of MathJax will bring proper support for webpack processing [2].
So, we should be able to drop the CDN use once version 3.0 gets released.