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

    Function relativeHeadingLevel

    • 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