Skip to content

Commit

Permalink
revise shortcodes
Browse files Browse the repository at this point in the history
  • Loading branch information
htr3n committed Jun 24, 2019
1 parent bc30ead commit 4e155a4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion layouts/shortcodes/note.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<blockquote {{ with .Get "class" }}class="{{.}}"{{ end }}>
<strong>{{ .Get 0 | default "Note" }}</strong><br>
<strong>{{ .Get 0 | default "Note" | markdownify }}</strong><br>
{{ .Inner | markdownify }}
</blockquote>
2 changes: 1 addition & 1 deletion layouts/shortcodes/warning.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<blockquote class="warning">
<strong>{{ .Get 0 | default "Warning" }}</strong><br>
<strong>{{ .Get 0 | default "Warning" | markdownify }}</strong><br>
{{ .Inner | markdownify }}
</blockquote>

0 comments on commit 4e155a4

Please sign in to comment.