v0.1.0-alpha.2
Pre-release
Pre-release
Image source resolution. <img src> now resolves from the (previously inert) images and baseUrl render options.
images: aRecord<string, Uint8Array>mapping an<img>'ssrcto raw bytes; the format (PNG/JPEG/GIF/WebP) is detected from the bytes.baseUrl: normalizes a relativesrcinto theimageslookup key. No network or filesystem I/O on the render path — determinism is preserved.- Inline
data:URLs continue to render.
BREAKING: a renderable <img> whose src cannot be resolved (missing images entry, remote/unknown-scheme URL, unsupported/malformed data: URL, or unrecognized bytes) now rejects with a located image:unresolved diagnostic instead of rendering blank. A src-less or empty src is skipped silently.
See #7.