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

github.com/zwbetz-gh/papercss-hugo-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzwbetz-gh <zwbetz@gmail.com>2021-03-29 06:18:56 +0300
committerzwbetz-gh <zwbetz@gmail.com>2021-03-29 06:18:56 +0300
commit699a752a936089db3afc25e3cb1f752d56305601 (patch)
tree5fd194f4364f7d49b73c6bf33d93cf0966202e6f /layouts
parent573b3dd0be2a4af66437e03ed8b7c149d202acb1 (diff)
render markdown in shortcodes
Diffstat (limited to 'layouts')
-rw-r--r--layouts/shortcodes/alert.html2
-rw-r--r--layouts/shortcodes/background.html2
-rw-r--r--layouts/shortcodes/badge.html2
-rw-r--r--layouts/shortcodes/border.html2
-rw-r--r--layouts/shortcodes/color.html2
5 files changed, 5 insertions, 5 deletions
diff --git a/layouts/shortcodes/alert.html b/layouts/shortcodes/alert.html
index 200f43b..0522ebb 100644
--- a/layouts/shortcodes/alert.html
+++ b/layouts/shortcodes/alert.html
@@ -1,3 +1,3 @@
<p class="alert alert-{{ .Get 0 }}">
- {{ .Inner }}
+ {{ .Inner | markdownify }}
</p> \ No newline at end of file
diff --git a/layouts/shortcodes/background.html b/layouts/shortcodes/background.html
index 5ddc8ec..5d06c3c 100644
--- a/layouts/shortcodes/background.html
+++ b/layouts/shortcodes/background.html
@@ -1,3 +1,3 @@
<p class="sm col background-{{ .Get 0 }}">
- {{ .Inner }}
+ {{ .Inner | markdownify }}
</p> \ No newline at end of file
diff --git a/layouts/shortcodes/badge.html b/layouts/shortcodes/badge.html
index 94ee273..f773f28 100644
--- a/layouts/shortcodes/badge.html
+++ b/layouts/shortcodes/badge.html
@@ -1,3 +1,3 @@
<span class="badge {{ .Get 0 }}">
- {{ .Inner }}
+ {{ .Inner | markdownify }}
</span> \ No newline at end of file
diff --git a/layouts/shortcodes/border.html b/layouts/shortcodes/border.html
index 46177bd..2b4accd 100644
--- a/layouts/shortcodes/border.html
+++ b/layouts/shortcodes/border.html
@@ -12,6 +12,6 @@
<div class="child-borders">
<p class="sm col {{ $class }}">
- {{ .Inner }}
+ {{ .Inner | markdownify }}
</p>
</div> \ No newline at end of file
diff --git a/layouts/shortcodes/color.html b/layouts/shortcodes/color.html
index c87a3e0..637f336 100644
--- a/layouts/shortcodes/color.html
+++ b/layouts/shortcodes/color.html
@@ -1,3 +1,3 @@
<p class="text-{{ .Get 0 }}">
- {{ .Inner }}
+ {{ .Inner | markdownify }}
</p> \ No newline at end of file