<details {{ with .Get "class" }} class="{{ . }}"{{ end }}><summary>{{ .Get "title" }}</summary>
{{ if .Get "md" }}
{{ .Inner | markdownify }}
{{ else }}
{{ .Inner }}
{{ end }}
</details>