{{ define "fragments/markdownPreview" }}
    {{ if . }}
        <div class="prose dark:prose-invert max-w-none">
            {{ markdownBody (did .LoggedInUser.Did) true .Content }}
        </div>
    {{ else }}
        <div class="text-gray-400 dark:text-gray-500 italic">Nothing to preview.</div>
    {{ end }}
{{ end }}
