Adds a tag to the equation at the cached line range after confirming the current editor still contains the same equation text. Returns a failure reason instead of silently returning false so callers can warn about stale panel data when refresh has been stopped.
OptionalexpectedContent: stringPrivatefillRetrieves equations by their tags from a specified source file. Used in rename tags
This method processes both local and cross-file equation references based on plugin settings. For cross-file references, it resolves the actual file path using footnotes. It filters out invalid equations and fills in the equation content for valid ones.
An array of equation tags to retrieve
The path of the source file where the equations are referenced
A promise that resolves to an array of RenderedEquation objects containing equation details
PrivategetGets the MarkdownView for a file by its path
The path of the file
The MarkdownView if found, null otherwise
PrivatelinesPrivateresolve
Common class processing logic for equation files.
Services class need plugin instance to access settings and cache data, and provide common functions for equation files.