{{/* One template for the whole set: which names exist is the theme's business, never the engine's (ADR-0063). Unicode here, so the reference theme ships no sprite, no font and no asset — a theme wanting drawn icons redefines this block and emits against its own sprite. An unknown name renders nothing, which is how a theme says so, and the engine puts the author's text back. */}} {{define "icon"}} {{- if eq .Args.name "warn"}}⚠️ {{- else if eq .Args.name "note"}}ℹ️ {{- else if eq .Args.name "tip"}}💡 {{- else if eq .Args.name "star"}}⭐ {{- else if eq .Args.name "check"}}✅ {{- else if eq .Args.name "cross"}}❌ {{- end}} {{- end}}