1.4 KiB
1.4 KiB
HTML output
The expression parser can output a HTML string, where every Node is
transformed into a <span> element with semantic class names. Each class
name begins with the math- prefix. These class names can be used in CSS to
highlight the syntax or change the default layout (e.g. spaces around operators).
Available class names
math-numbermath-stringmath-boolean(trueandfalse)math-undefinedmath-function(function names)math-parameter(function parameters)math-property(object members)math-symbol(variables, units and built-in constants)math-null-symbol(null)math-nan-symbol(NaN)math-infinity-symbol(Infinity)math-imaginary-symbol(i)
math-operatormath-unary-operatormath-lefthand-unary-operatormath-righthand-unary-operator
math-binary-operatormath-explicit-binary-operatormath-implicit-binary-operator(empty element)
math-assignment-operatormath-variable-assignment-operator(=)math-property-assignment-operator(:in objects)
math-accessor-operator(.in objects)math-range-operator(:in ranges)
math-parenthesis-math-round-parenthesis((and)) -math-square-parenthesis([and]) -math-curly-parenthesis({and})math-separator(<28>,,;` and<br />)