Spaces:
Sleeping
Sleeping
Download static/js/katex.js from AstraOS/dev: direct link, hf CLI and curl.
- Browser
- Download file 682 Bytes
-
https://huggingface.co/spaces/AstraOS/dev/resolve/main/static/js/katex.js
- Command line
-
hf download hf://spaces/AstraOS/dev/static/js/katex.js
-
curl -L -o katex.js https://huggingface.co/spaces/AstraOS/dev/resolve/main/static/js/katex.js
682 Bytes
| document.addEventListener("DOMContentLoaded", function() { | |
| renderMathInElement(document.getElementById('main-article'), { | |
| delimiters: [ | |
| {left: '$', right: '$', display: false}, | |
| {left: '$$', right: '$$', display: true}, | |
| {left: '\(', right: '\)', display: false}, | |
| {left: '\[', right: '\]', display: true}, | |
| {left: '\\(', right: '\\)', display: false}, | |
| {left: '\\[', right: '\\]', display: true}, | |
| {left: "\begin{equation}", right: "\end{equation}", display: true}, | |
| {left: "\begin{align}", right: "\end{align}", display: true}, | |
| ], | |
| throwOnError : false | |
| }); | |
| }); |