{{- /* Blockquote render hook with native Markdown callout support (Hugo 0.140+). Markdown: > [!note] Optional title > Body content here. Renders to a styled callout. Plain blockquotes pass through unchanged. Supported alert types: note, tip, important, warning, caution. */ -}} {{- if eq .Type "alert" -}} {{- $type := .AlertType | lower -}} {{- $title := .AlertTitle -}} {{- if not $title -}} {{- $title = i18n (printf "callout%s" ($type | title)) | default ($type | title) -}} {{- end -}}

{{ $title }}

{{ .Text }}
{{- else -}}
{{ .Text }}
{{- end -}}