Skip to content

MathJax

The commented-out lines in the extra_javascript section of mkdocs.yml result in cross-domain calls that are arguably illegal under GDPR without explicit user consent for which we are unwilling to ask.

extra_javascript:
  - mathjax/mathjax.js
  # - https://polyfill.io/v3/polyfill.min.js?features=es6
  - mathjax/polyfill.min.js
  # - https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js
  - mathjax/tex-mml-chtml.js

This folder’s content replicates on the site calls detected in the browser to https://cdn.jsdelivr.net.

https://cdn.jsdelivr.net/npm/mathjax@3/es5/output/chtml/fonts/woff-v2/MathJax_Zero.woff
https://cdn.jsdelivr.net/npm/mathjax@3/es5/output/chtml/fonts/woff-v2/MathJax_Main-Regular.woff
https://cdn.jsdelivr.net/npm/mathjax@3/es5/output/chtml/fonts/woff-v2/MathJax_Math-Italic.woff

If MathJax stops working, restore the CDN call, discover what further calls the JS makes, and replicate the data structure.

Probably a good idea to refresh the folder content from time to time to collect updates.