Expand description
Tree structure definitions for virtual DOM nodes
This module contains the foundational types for KaTeX’s virtual DOM system, including the base VirtualNode trait and DocumentFragment structure.
Re-exports§
pub use crate::dom_tree::HtmlDomNode;
pub use crate::mathml_tree::MathDomNode;
Structs§
- Document
Fragment - Document fragment containing elements without DOM representation
Traits§
- Virtual
Node - Base virtual DOM node interface used in both DOM tree and MathML tree implementations
Functions§
- markup_
to_ string - Renders the provided
VirtualNode
into aString
buffer.