revise shortcodes

This commit is contained in:
Huy Tran 2019-06-24 13:28:09 +10:00
parent bc30ead07f
commit 4e155a4bf1
2 changed files with 2 additions and 2 deletions

View file

@ -1,4 +1,4 @@
<blockquote {{ with .Get "class" }}class="{{.}}"{{ end }}> <blockquote {{ with .Get "class" }}class="{{.}}"{{ end }}>
<strong>{{ .Get 0 | default "Note" }}</strong><br> <strong>{{ .Get 0 | default "Note" | markdownify }}</strong><br>
{{ .Inner | markdownify }} {{ .Inner | markdownify }}
</blockquote> </blockquote>

View file

@ -1,4 +1,4 @@
<blockquote class="warning"> <blockquote class="warning">
<strong>{{ .Get 0 | default "Warning" }}</strong><br> <strong>{{ .Get 0 | default "Warning" | markdownify }}</strong><br>
{{ .Inner | markdownify }} {{ .Inner | markdownify }}
</blockquote> </blockquote>