Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/htr3n/hyde-hyde.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHuy Tran <hoang.huy.tran@gmail.com>2018-11-30 00:16:49 +0300
committerHuy Tran <hoang.huy.tran@gmail.com>2018-11-30 00:16:49 +0300
commit739f92285baf06cc9d3f323002f9785111b0007b (patch)
tree6ddac2561b6a76564d50e5093c7013d78fb19c1d /layouts
parent1ea35f44308997d2e4879f3b7938dd1a77a99578 (diff)
revise styles for <blockquote> and note, warning
Diffstat (limited to 'layouts')
-rw-r--r--layouts/shortcodes/note.html2
-rw-r--r--layouts/shortcodes/warning.html2
2 files changed, 2 insertions, 2 deletions
diff --git a/layouts/shortcodes/note.html b/layouts/shortcodes/note.html
index dfde0ab..181b841 100644
--- a/layouts/shortcodes/note.html
+++ b/layouts/shortcodes/note.html
@@ -1,4 +1,4 @@
<blockquote {{ with .Get "class" }}class="{{.}}"{{ end }}>
<strong>{{ .Get 0 | default "Note" }}</strong><br>
- {{ .Inner }}
+ {{ .Inner | markdownify }}
</blockquote>
diff --git a/layouts/shortcodes/warning.html b/layouts/shortcodes/warning.html
index 7c5477b..3a6911f 100644
--- a/layouts/shortcodes/warning.html
+++ b/layouts/shortcodes/warning.html
@@ -1,4 +1,4 @@
<blockquote class="warning">
<strong>{{ .Get 0 | default "Warning" }}</strong><br>
- {{ .Inner }}
+ {{ .Inner | markdownify }}
</blockquote>