{{- /* Mermaid support for code fences extended and shortcodes. */ -}}
<div class="diagram-container">
  <pre class="mermaid">{{ .Inner | safeHTML }}</pre>
  <pre class="mermaid-dark">{{ .Inner | safeHTML }}</pre>
  <pre class="mermaid-neutral">{{ .Inner | safeHTML }}</pre>
  {{- dict "Label" "Copy Mermaid code" | partial "plugin/diagram-copy-btn.html" -}}
  <template><pre>{{ .Inner | safeHTML }}</pre></template>
</div>
{{- /* EOF */ -}}
