Expand description
MathML tree node definitions for MathML rendering
These objects store data about MathML nodes. This is the MathML equivalent of the types in dom_tree.rs. Since MathML handles its own rendering, and since we’re mainly using MathML to improve accessibility, we don’t manage any of the styling state that the plain DOM nodes do.
Structs§
- Math
Node - General purpose MathML node of any type
- Math
Node Builder - Use builder syntax to set the inputs and finish with
build()
. - Space
Node - Space node for MathML, may render as
<mspace>
or as text - Text
Node - Text node for MathML content
Enums§
- Math
DomNode - MathML DOM node enum for type-safe node representation
- Math
Node Type - MathML node types used in KaTeX
Functions§
- get_
space_ character - Get the appropriate space character based on width
- make_
fragment - Make a MathDom Fragment
Type Aliases§
- Math
DomFragment - Document fragment containing MathML DOM nodes