Commit graph

12 commits

Author SHA1 Message Date
JK
ba4f64eeb4 Refactor documentation and enhance features for TeXcore plugin
- Updated PDF export documentation to clarify features and settings.
- Improved quick preview functionality with detailed technical architecture.
- Enhanced equation search and autocomplete sections for better user guidance.
- Streamlined snippets documentation for command usage and text transformations.
- Revamped TikZ diagrams section to include graphical editor details and usage instructions.
- Revised getting started guide for clearer step-by-step setup instructions.
- Added new navigation and configuration options in the documentation structure.
- Updated plugin manifest files with improved descriptions for clarity.
2026-06-06 11:50:35 +02:00
JK
bf83c2a9d7 feat(tikz): transition to on-demand lazy asset loading model
- Excluded `tikzjax-assets/` directory from production release configurations in `package.json` to reduce package size from ~11MB to under 1.2MB.
- Generated `assets-manifest.ts` containing static list of 210+ LaTeX dependencies to resolve package lists statically.
- Implemented dynamic downloader in `loader.ts` using Obsidian `requestUrl` to fetch missing TeX files on-demand from CDN and save them locally.
- Integrated `showNotice` notifications to notify users about download initiation, completion, and error states.
- Implemented lazy font loading in `renderer.ts` to download `tikzjax.css` dynamically on first render.
- Resolved worker typescript type overload matching compiler issue.
- Satisfied Obsidian release policies by removing unnecessary console logs and direct `Notice` constructor calls.
2026-06-05 15:27:19 +02:00
JK
4aa6d9cdac Updated Naming Convention 2026-06-05 14:50:35 +02:00
JK
b6392a5523 refactor: reorganize src into modular structure and increase test coverage 2026-06-04 20:50:07 +02:00
JK
0f00ee5f90 setting up prod release 2026-06-04 20:26:28 +02:00
JK
2c48c019f0 feat(row-layout): add side-by-side row layout for Reading View and Live Preview
- Implements support for `;;;row: [widths]` and `;;` columns to render side-by-side layouts dynamically.
- Integrates a CodeMirror 6 `StateField` using `Decoration.replace` for Live Preview, enabling seamless inline layout folding.
- Adds click-to-edit handling which dispatches selection to the raw source code when clicking a rendered layout.
- Ensures robust component lifecycle management: tracks and unloads rendering components via `destroy()` in Live Preview widgets and `ctx.addChild` in Reading View to prevent memory leaks.
- Bumps manifest.json to v2.3.0.
2026-06-04 20:12:06 +02:00
JK
ed45018fdc fix: update regex for equation links to correctly handle sub-indices 2026-06-04 20:12:05 +02:00
JK
a3d9e1e494 fix(callout): Implement custom rendering for equation links and numbers in dynamically rendered callouts. 2026-06-04 20:12:05 +02:00
JK
9d5f3aa68b version bump 2026-06-04 20:12:04 +02:00
JK
596bd1daa7 version: updated esbuild, npm and version 2026-06-04 20:12:03 +02:00
JK
f8b3725ae3 refactor: improve equation numbering logic and consistency across views
- 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
2026-06-04 20:12:02 +02:00
JK
7e75089cb2 initializing 2026-06-04 20:11:56 +02:00