Spaces:
No application file
No application file
Download studyArena/packages/mathml2omml/src/mathml/math.js from Nitishkumar-ai/arena-learning: direct link, hf CLI and curl.
- Browser
- Download file 535 Bytes
-
https://huggingface.co/spaces/Nitishkumar-ai/arena-learning/resolve/main/studyArena/packages/mathml2omml/src/mathml/math.js
- Command line
-
hf download hf://spaces/Nitishkumar-ai/arena-learning/studyArena/packages/mathml2omml/src/mathml/math.js
-
curl -L -o math.js https://huggingface.co/spaces/Nitishkumar-ai/arena-learning/resolve/main/studyArena/packages/mathml2omml/src/mathml/math.js
535 Bytes
| export function math(element, targetParent, previousSibling, nextSibling, ancestors) { | |
| targetParent.name = 'm:oMath' | |
| targetParent.attribs = { | |
| 'xmlns:m': 'http://schemas.openxmlformats.org/officeDocument/2006/math', | |
| 'xmlns:w': 'http://schemas.openxmlformats.org/wordprocessingml/2006/main' | |
| } | |
| targetParent.type = 'tag' | |
| targetParent.children = [] | |
| return targetParent | |
| } | |
| export function semantics(element, targetParent, previousSibling, nextSibling, ancestors) { | |
| // Ignore as default behavior | |
| return targetParent | |
| } | |