diff --git a/layouts/shortcodes/alert.html b/layouts/shortcodes/alert.html
index 4c55d13..7cc7eb0 100644
--- a/layouts/shortcodes/alert.html
+++ b/layouts/shortcodes/alert.html
@@ -1,4 +1,12 @@
-
{{ with .Get "icon" }}{{.}}{{ end }}
-
{{ with .Get "text" }}{{ . | safeHTML }}{{ end }}
-
\ No newline at end of file
+ {{ with .Get "icon" }}{{.}} {{ end }}
+ {{ with .Get "text"}}
+ {{ . | safeHTML }}
+ {{ else }}
+ {{ with .Inner}}
+ {{ . | markdownify}}
+ {{ else }}
+ {{ errorf "No valid text variable or Inner content given"}}
+ {{ end }}
+ {{ end}}
+