diff --git a/layouts/shortcodes/details.html b/layouts/shortcodes/details.html
index 6d1da38..41d2dca 100644
--- a/layouts/shortcodes/details.html
+++ b/layouts/shortcodes/details.html
@@ -1,3 +1,7 @@
{{ .Get "title" }}
-{{ .Inner }}
+ {{ if .Get "md" }}
+ {{ .Inner | markdownify }}
+ {{ else }}
+ {{ .Inner }}
+ {{ end }}