@newspapper/core
    Preparing search index...

    Interface WzdRenderContext

    interface WzdRenderContext {
        theme: Theme;
        head: Record<string, string>;
        align: WzdAlign;
        size: WzdSize;
        index: number;
        total: number;
        uploadBaseUrl: string;
        render(node: WzdNode, ctx: WzdRenderContext): TNode | null;
        renderChildren(nodes: readonly WzdNode[], ctx: WzdRenderContext): TNode[];
    }
    Index
    theme: Theme
    head: Record<string, string>

    <head> — the binding scope.

    align: WzdAlign

    The alignment inherited from the nearest ancestor that set one.

    size: WzdSize

    The text size inherited from a <List>; md elsewhere.

    index: number

    1-based position of the slide being compiled.

    total: number

    How many slides the document has.

    uploadBaseUrl: string

    Prefix an <Image src> is resolved against.