Equation Citator v1.3.7 Documentation
    Preparing search index...
    • Automatically numbers equations in a Markdown string according to specified heading levels and numbering styles.

      This function not update citation, use autoNumberCurrentFileEquations in real function call.

      Equations outside headings can be prefixed with a custom string, and the numbering can be relative to headings or absolute, depending on the autoNumberingType. The function also handles code blocks, quoted lines, and unclosed equation blocks gracefully.

      Parameters

      • content: string

        The Markdown content to process.

      • configs: EquationAutoNumberConfigs

        The auto-numbering configuration object containing all settings.

      Returns AutoNumberProceedResult

      An object containing the processed Markdown (md) and a mapping of old to new equation tags (tagMapping).