diff --git a/layouts/shortcodes/details.html b/layouts/shortcodes/details.html
new file mode 100644
index 0000000..e308042
--- /dev/null
+++ b/layouts/shortcodes/details.html
@@ -0,0 +1,6 @@
+{{ $class := .Get "class" -}}
+{{ $summary := .Get "summary" -}}
+
+{{ with $summary }}{{ . }}
{{ end }}
+{{ .Inner | markdownify }}
+