mirror of
https://github.com/garrytan/gstack.git
synced 2026-06-20 16:50:08 +02:00
e7c0c1bf51
34 unit tests (fence extraction incl. nested/tilde/unclosed/render=false, info-string parsing, slot substitution, diagnostic/figure escaping + SVG script strip, byte-level dimension probing across 5 formats, content-box math, image inlining incl. strict/remote/missing/data-URI paths). E2E gate proves through the compiled binary: both fences render as vector text (id-collision check), raw mermaid ships only via render=false, broken fence yields the diagnostic block, and the relative fixture image rasterizes to colored pixels (CRITICAL regression for the about:blank image fix). --strict exits non-zero on a missing image. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
565 B
565 B
Diagram Gate
A relative local image (CRITICAL regression: must render, not 404):
First diagram
graph LR
GATEALPHA[gatealphanode] --> GATEBETA{gatebetanode}
GATEBETA -->|yes| GATEGAMMA[gategammanode]
Second diagram (id-collision check)
graph TD
GATEDELTA[gatedeltanode] --> GATEEPSILON[gateepsilonnode]
Kept as source
graph LR
RAWKEPT --> ASCODE
Deliberately broken
graph LR
A -->
(((
Done.
