Download templates/collie-benchmark.github.io/load-mathjax.js from Mqleet/AutoPage: direct link, hf CLI and curl.
- Browser
- Download file 400 Bytes
-
https://huggingface.co/spaces/Mqleet/AutoPage/resolve/main/templates/collie-benchmark.github.io/load-mathjax.js
- Command line
-
hf download hf://spaces/Mqleet/AutoPage/templates/collie-benchmark.github.io/load-mathjax.js
-
curl -L -o load-mathjax.js https://huggingface.co/spaces/Mqleet/AutoPage/resolve/main/templates/collie-benchmark.github.io/load-mathjax.js
400 Bytes
| window.MathJax = { | |
| loader: {load: ['[tex]/textmacros']}, | |
| tex: { | |
| inlineMath: [['$', '$'], ['\\(', '\\)']], | |
| packages: {'[+]': ['textmacros']} | |
| }, | |
| svg: { | |
| fontCache: 'global' | |
| } | |
| }; | |
| (function () { | |
| var script = document.createElement('script'); | |
| script.src = 'https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-svg.js'; | |
| script.async = true; | |
| document.head.appendChild(script); | |
| })(); | |