mirror of
https://github.com/youfoundjk/TeXcore.git
synced 2026-07-22 07:33:31 +00:00
- 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. |
||
|---|---|---|
| .. | ||
| assets | ||
| configuration | ||
| features | ||
| overrides/partials | ||
| getting-started.md | ||
| index.md | ||