7 days ago
- Mathup translates simple mathematical expressions into structured MathML.
- It supports installation via npm, as a client-side script, or as a command-line tool.
- Custom HTML element <math-up> allows embedding math in web pages.
- Options control decimal mark, separators, display style, and direction.
- Mathup is faster than MathJax as it only parses and translates, leaving rendering to the browser.
- Expressions use AsciiMath-inspired syntax, avoiding verbose TeX-like notation.
- Token types (identifiers, operators, numbers, text) are inferred from input.
- Supports fractions, sub/superscripts, roots, accents, fonts, and colors.
- Matrices and tensors are handled with row/column separators and special index syntax.
- Unicode characters and custom fences (bra-ket, groups) are supported.