youfoundjk_TeXcore/docs/features
JK bea33c7cac feat(tikz): decouple TikZJax loader and assets for fully offline, worker-based rendering
- Extracted 214 TeX libraries, packages, core formats, and WebAssembly binaries from monolithic `tikzjax.js` into local `tikzjax-assets/` folder.
- Replaced monolithic 7MB runtime JS asset download from GitHub with a lightweight loader and Web Worker compilation engine.
- Implemented `tikzjax.worker.ts` to execute the TeX engine in a background Web Worker thread using modern Web standard APIs, preventing main-thread UI locks.
- Implemented `TikzJaxLoader` to parse code block preambles, lazily load/decompress assets synchronously via native `zlib`, cache core buffers in memory, and compile diagrams via the worker.
- Refactored `renderer.ts` and `live-preview-overlay.ts` to utilize the async loader, removing DOM-polluting `<script>` tags, global mutation observers, and custom window hooks.
- Swapped unsafe `.innerHTML` DOM writes with secure browser `DOMParser` APIs for SVG parsing.
- Configured `esbuild` and `package.json` to recursively copy `tikzjax-assets/` to both development and production release locations.
- Removed temporary extraction scripts to keep runtime codebase clean.
- Added asset origin citations to module README, project root README, and MkDocs features documentation.
- Fixed all 111 ESLint type check and style errors, ensuring clean linter execution.
2026-06-05 15:19:32 +02:00
..
callout-support.md Added docs 2026-06-04 20:12:04 +02:00
equations.md Updated Naming Convention 2026-06-05 14:50:35 +02:00
pdf-export.md Added docs 2026-06-04 20:12:04 +02:00
quick-preview.md Added docs 2026-06-04 20:12:04 +02:00
search.md Added docs 2026-06-04 20:12:04 +02:00
snippets.md feat(snippets): streamline snippet management and introduce text transformation features 2026-06-04 20:12:05 +02:00
tikz.md feat(tikz): decouple TikZJax loader and assets for fully offline, worker-based rendering 2026-06-05 15:19:32 +02:00