From 4e155a4bf1b5efe9fa8cdf77f02c7d05af9591ca Mon Sep 17 00:00:00 2001 From: Huy Tran Date: Mon, 24 Jun 2019 13:28:09 +1000 Subject: [PATCH] revise shortcodes --- layouts/shortcodes/note.html | 2 +- layouts/shortcodes/warning.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/layouts/shortcodes/note.html b/layouts/shortcodes/note.html index 181b841f..2e38616e 100644 --- a/layouts/shortcodes/note.html +++ b/layouts/shortcodes/note.html @@ -1,4 +1,4 @@
- {{ .Get 0 | default "Note" }}
+ {{ .Get 0 | default "Note" | markdownify }}
{{ .Inner | markdownify }}
diff --git a/layouts/shortcodes/warning.html b/layouts/shortcodes/warning.html index 3a6911fe..dc30e3b3 100644 --- a/layouts/shortcodes/warning.html +++ b/layouts/shortcodes/warning.html @@ -1,4 +1,4 @@
- {{ .Get 0 | default "Warning" }}
+ {{ .Get 0 | default "Warning" | markdownify }}
{{ .Inner | markdownify }}