Equation Citator v1.3.7 Documentation
    Preparing search index...
    • Calculate the relative heading level of the current heading

      Parameters

      • headings: Heading[]
      • currentHeadingIndex: number

      Returns number

      positive number: the relative heading level of the current heading zero: no heading found, error occurred