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

github.com/asurbernardo/amperage.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAsur <asur@asurbernardo.com>2020-01-16 16:24:24 +0300
committerAsur <asur@asurbernardo.com>2020-01-16 16:24:24 +0300
commitefcf089cc8c798aeab1bda717204727b78ffb31e (patch)
tree9641621f1647077930c3277b79b858e63b8ea64f
parent84ff3c518e9c37a01ba491396c8b0b2bf693190f (diff)
Interprete markdown inside post-it shorcode
-rw-r--r--layouts/partials/shortcodes/post-it.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/partials/shortcodes/post-it.html b/layouts/partials/shortcodes/post-it.html
index 14006ef..2a80340 100644
--- a/layouts/partials/shortcodes/post-it.html
+++ b/layouts/partials/shortcodes/post-it.html
@@ -1,6 +1,6 @@
<div class="post-it {{ with .Params.type }} post-it--{{ . }} {{ else }} post-it--tip {{ end }}">
{{ with .Params.title }} <div class="post-it__title">{{.}}</div>{{ end }}
<div class="post-it__content">
- {{.Inner}}
+ {{.Inner | markdownify}}
</div>
</div> \ No newline at end of file