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.
Automatically numbers equations in a Markdown string according to specified heading levels and numbering styles.
This function not update citation, use
autoNumberCurrentFileEquationsin 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.