From 27c17911443b8d93c56b26664d62f8e5ec274288 Mon Sep 17 00:00:00 2001
From: Nikolay Raspopov <raspopov@cherubicsoft.com>
Date: Fri, 19 Feb 2021 10:55:53 +0000
Subject: Let's enable markdown in the button title (#308)

Added " | markdownify" to the inner text of button.
---
 layouts/shortcodes/button.html | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/layouts/shortcodes/button.html b/layouts/shortcodes/button.html
index 98d2cdd..337a50f 100644
--- a/layouts/shortcodes/button.html
+++ b/layouts/shortcodes/button.html
@@ -8,5 +8,5 @@
   {{ $ref = relref $ . }}
 {{ end }}
 <a {{ with $ref }} href="{{.}}" {{ end }} {{ with $target }} target="{{.}}" {{ end }} class="book-btn{{ with .Get "class" }} {{ . }}{{ end }}">
-  {{ $.Inner }}
+  {{ $.Inner | markdownify }}
 </a>
-- 
cgit v1.2.3