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

Added " | markdownify" to the inner text of button.
pull/313/head
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
1 changed files with 1 additions and 1 deletions

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>