Equation Citator v1.3.12 Documentation
    Preparing search index...

    Since the outline view is much more complex than list view, we encapsulate its rendering logic into a separate class for better code organization.

    Index
    app: App
    collapseAllState: boolean = false
    collapseHeadings: Set<string> = ...
    currentCollapseAllState: boolean = false
    currentHeadingOccurrences: Map<string, number> = ...
    currentHeadings: Heading[] = []
    parsedCollapsedHeadings: Set<string> = ...
    plugin: default
    • Parameters

      • hasContent: boolean
      • collapseIcon: HTMLElement | null
      • id: string
      • contentContainer: HTMLElement

      Returns void

    • Update the data-line attributes of heading elements when lines have changed but heading structure (level, text) remains the same. This avoids a full re-render when only line numbers shift (e.g., text edits above headings).

      Parameters

      Returns void