Module tree

Module tree 

Source
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§

DocumentFragment
Document fragment containing elements without DOM representation

Traits§

VirtualNode
Base virtual DOM node interface used in both DOM tree and MathML tree implementations

Functions§

markup_to_string
Renders the provided VirtualNode into a String buffer.