{# Joist beam mark as an inline SVG favicon; themes with the browser chrome. #} {# The diagram's label boxes are sized to the text Mermaid measures, with no slack, so a face arriving after that measurement repaints wider glyphs into boxes sized for the fallback and clips the last character. The client waits for this face before measuring; the hint starts the fetch with the document instead of when the stylesheet is parsed, so that wait is usually over before it begins. crossorigin is required even same-origin, or the preload is not reused. #} {# Optional custom-theme overrides, generated from JOIST["theme"]. Linked after the base sheet so its variables win, and only when a theme is configured (a default install makes no extra request). Same-origin, CSP-safe. #} {% if has_custom_theme %} {% endif %} {# Mermaid as a global (UMD). Self-hosted from the package by default (no CDN); JOIST["diagram"]["mermaid_url"] opts into a CDN. #}