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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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>