diff options
author | Nikolay Raspopov <raspopov@cherubicsoft.com> | 2021-02-19 10:55:53 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-19 11:55:53 +0100 |
commit | 27c17911443b8d93c56b26664d62f8e5ec274288 (patch) | |
tree | 206704552fcbc07dad219eafd8633d182da80036 | |
parent | cb57401039cde7e705c6e10c4eef774e4c07427f (diff) |
Let's enable markdown in the button title (#308)
Added " | markdownify" to the inner text of button.
-rw-r--r-- | layouts/shortcodes/button.html | 2 |
1 files changed, 1 insertions, 1 deletions
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> |