- Rewrote live preview equation numbering using `EquationInfo` and a robust math block parser.
- Added `TagManager` to manage `\tag{...}` commands based on reference counts and settings.
- Injected unique internal IDs into all math blocks.
- Enhanced `processActiveNoteEquations` to support both legacy and new-style equation links.
- Refactored reading view processor to read file content directly, supporting embeds, hover preview, and PDF export.
- Improved mapping of math block positions to equation numbers, avoiding duplicates.
- Ensured consistent equation referencing and numbering across all plugin views.
- Cleaned up and modularized code for better maintainability and future extensibility
Simplified plugin settings:
- Replaced multi-profile settings with a single `PluginSettings` object.
- Removed legacy fields and logic (e.g., `extraSettings`, `indexManager`, theorem/proof callouts).
- Flattened settings structure for easier loading/saving.
Standardized equation types:
- Unified all equation-related types to use `EquationBlock` from `types`.
- Updated imports across cleveref.ts, provider.ts, numbering.ts, live-preview.ts, and core.ts.
- Refactored `processActiveNoteEquations` to use plugin settings directly.
Refactored provider and equation number logic:
- Simplified `CleverefProvider` by removing index-based logic.
- Updated equation number widget and reading view to use new types and settings.
Improved search and suggestions:
- Refactored `ActiveNoteSearchCore` to use updated provider and settings.
- Unified suggestion rendering and link insertion logic.
General cleanup:
- Removed dead, commented, and obsolete code.
- Reduced indirection and legacy compatibility layers for better maintainability.