@astlide/core API Reference
    Preparing search index...

    Interface DeckContext

    Metadata about the slide currently being rendered.

    interface DeckContext {
        config: {
            author?: string;
            date?: string;
            theme: string;
            title?: string;
        };
        deck: string;
        layout: string;
        slideNumber: number;
        totalSlides: number;
        transition: string;
    }
    Index
    config: { author?: string; date?: string; theme: string; title?: string }

    The deck's parsed _config.json (with schema defaults applied).

    Type Declaration

    • Optionalauthor?: string

      Presenter / author name shown on the index page.

    • Optionaldate?: string

      ISO date string (e.g. "2025-06-01") shown on the index page.

    • theme: string

      Visual theme applied to all slides in the deck. Built-in themes plus any plugin-contributed theme names are valid. Unknown names are warned at runtime in dev mode.

    • Optionaltitle?: string

      Deck title shown on the index page and browser tab. Falls back to the deck directory name if omitted.

    deck: string

    Deck name (the deck directory / URL segment).

    layout: string

    Resolved slideLayout for this slide.

    slideNumber: number

    1-based index of this slide within the deck.

    totalSlides: number

    Total number of slides in the deck.

    transition: string

    Resolved transition for this slide.