Trevixal API
    Preparing search index...

    A located math node. path addresses the node itself (so it feeds SetNodeAttrsStep directly); range is its inline extent inside the parent textblock, and is null for a mathBlock, whose parent addresses it by child index instead.

    interface MathHit {
        block: boolean;
        node: EditorNode;
        path: Path;
        range: { from: number; to: number } | null;
    }
    Index
    block: boolean

    True for mathBlock, false for the inline math atom.

    node: EditorNode
    path: Path
    range: { from: number; to: number } | null