Merge pull request #54 from chatziko/markdown-in-notes

Allow markdown in note shortcodes (fixes #40)
This commit is contained in:
Josh Dzielak
2019-10-23 19:41:31 +02:00
committed by GitHub
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>