Circle V2 API Docs
    Preparing search index...

    Type Alias SectionedHeadingCompletionConfig

    type SectionedHeadingCompletionConfig = {
        fieldsBySection: Readonly<Record<string, readonly CompletionEntry[]>>;
        sections: readonly CompletionEntry[];
    }
    Index

    Properties

    fieldsBySection: Readonly<Record<string, readonly CompletionEntry[]>>

    H2 suggestions, keyed by section label (NOT prefixed with # ). When the cursor is inside a # Foo section, suggestions come from fieldsBySection["Foo"].

    sections: readonly CompletionEntry[]

    H1 suggestions. Each label becomes # <label> in the editor.