diff options
author | Asur <asur@asurbernardo.com> | 2020-01-16 16:24:24 +0300 |
---|---|---|
committer | Asur <asur@asurbernardo.com> | 2020-01-16 16:24:24 +0300 |
commit | efcf089cc8c798aeab1bda717204727b78ffb31e (patch) | |
tree | 9641621f1647077930c3277b79b858e63b8ea64f | |
parent | 84ff3c518e9c37a01ba491396c8b0b2bf693190f (diff) |
Interprete markdown inside post-it shorcode
-rw-r--r-- | layouts/partials/shortcodes/post-it.html | 2 |
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 |