adds some handy shortcodes

This commit is contained in:
Huy Tran 2018-07-21 06:31:30 +10:00
parent 5cb7c1f45f
commit f1605d3802
3 changed files with 8 additions and 0 deletions

View file

@ -0,0 +1 @@
<kbd>{{- .Get 0 -}}</kbd>

View file

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

View file

@ -0,0 +1,3 @@
<blockquote class="warning">
{{- .Inner -}}
</blockquote>