ext-apps/scripts
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Jonathan Hefner 4546a686c3
Fix mermaid diagram arrowheads not rendering
The `@boneskull/typedoc-plugin-mermaid` creates both dark and light theme
variants of each diagram, each with identical marker IDs (e.g., `#arrowhead`).
When mermaid renders SVGs at runtime, lines reference `url(#arrowhead)`, but
the browser resolves this to the first match in document order — the hidden
dark-theme SVG — causing arrows to be invisible.

The fix removes dark-theme `<div class="mermaid dark">` elements at build time,
leaving only one SVG per diagram with unique marker IDs. A CSS filter
(`filter: invert(1) hue-rotate(180deg)`) handles dark mode styling instead.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-24 16:52:49 -06:00
..
check-versions.mjs fix: ensure lib is built before examples:build (#185) 2026-01-09 01:36:42 +00:00
generate-schemas.ts chore: bump to 0.2.2 + make Zod schemas version-agnostic (v3.25+/v4) (#178) 2025-12-17 20:55:59 +00:00
run-bun.mjs fix: Windows compatibility - bun as optional dep, cross-env for examples (#145) 2025-12-16 14:07:38 +00:00
setup-bun.mjs chore: release 0.2.1 - widen @oven/bun-* version range (#176) 2025-12-17 15:56:17 +00:00
sync-snippets.ts Support full-file inclusion in synced code snippets 2026-01-24 09:27:54 -06:00
typedoc-plugin-fix-mermaid-entities.mjs Fix mermaid diagram arrowheads not rendering 2026-01-24 16:52:49 -06:00