@newspapper/core
    Preparing search index...

    Interface WzdVisitorContext

    Newspapper Wizard (.wzd) — the language a post is written in.

    text -> parse -> WzdDocument -> format -> text, with lint over the tree. The catalogue is data; the compiler and the editor both read it rather than restating it.

    interface WzdVisitorContext {
        ancestors: WzdElement[];
        parent: WzdElement | null;
        index: number;
    }
    Index
    ancestors: WzdElement[]

    Ancestor elements, outermost first. Empty at the top level.

    parent: WzdElement | null

    The containing element, or null at the top level.

    index: number

    Index within the parent's children.