{# Vision result for one clicked gallery image: the image, its caption (alt text), and the mermaid source — looked up from .vision-cache by phash. #}
{{ name }}{% if diagram_type %} · {{ diagram_type }}{% endif %}

Caption / alt text

{{ caption or "(no caption cached — run the vision phase on this doc)" }}

{% if mermaid %}

Mermaid

{{ mermaid }}
{% else %}

No mermaid for this image (photo / screenshot / caption-only, or not yet visioned).

{% endif %}