Let's enable markdown in the button title (#308)

Added " | markdownify" to the inner text of button.
This commit is contained in:
Nikolay Raspopov
2021-02-19 10:55:53 +00:00
committed by GitHub
parent cb57401039
commit 27c1791144
+1 -1
View File
@@ -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>