revise styles for <blockquote> and note, warning

This commit is contained in:
Huy Tran 2018-11-30 08:16:49 +11:00
parent 1ea35f4430
commit 739f92285b
3 changed files with 5 additions and 6 deletions

View file

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

View file

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