Skip to content

Commit

Permalink
Let's enable markdown in the button title (alex-shpak#308)
Browse files Browse the repository at this point in the history
Added " | markdownify" to the inner text of button.
  • Loading branch information
raspopov authored Feb 19, 2021
1 parent cb57401 commit 27c1791
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion layouts/shortcodes/button.html
Original file line number Diff line number Diff line change
Expand Up @@ -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>

0 comments on commit 27c1791

Please sign in to comment.