{{- $color := .Get "color" -}}
{{- $title := .Get "title" -}}

<div class='problem{{ with $color }} problem-color {{ . }}{{ end }}'>
    {{- with $title }}
    <h3><span>{{ . | markdownify }}</span></h3>
    {{- end }}
    {{ .Inner | markdownify }}
</div>