Allow markdown in note shortcodes (fixes #40)

This commit is contained in:
Kostas Chatzikokolakis
2019-09-12 11:54:32 +03:00
parent 68429eccc3
commit 73800d2881
2 changed files with 6 additions and 3 deletions
+3
View File
@@ -1 +1,4 @@
{{/* Markdown is not rendered inside <aside> tags! So we use the following */}}
{{/* config which causes .Inner to be rendered before processing the shortcode. */}}
{{ $_hugo_config := `{ "version": 1 }` }}
<aside class="notes">{{ .Inner }}</aside>