@wdprlib/parser
    Preparing search index...

    Type Alias GalleryContent

    GalleryContent:
        | { items: GalleryItem[]; type: "items" }
        | { files: string[] | null; type: "auto" }

    Body of a [[gallery]] element.

    • "items" — the content form with explicit : source lines. items is always non-empty: the content form requires at least one line to parse.
    • "auto" — the content-less form, which shows the current page's image attachments. files is null until data resolution fills it with the attachment filenames (already sorted by the gallery's order).