• Extract glue from a list of nodes returning a node array with properly formatted glue as well as start/end indices where the glue was "sliced out" of nodes.

    Sometimes glue may end in the middle of a string node. If this happens, the string node is split and the second half is returned in the trailingStrings array.

    Parameters

    Returns {
        glue: Node[];
        span: {
            end: number;
            start: number;
        };
        trailingStrings: String[];
    } | null

Generated using TypeDoc