From 4e38a139148d41bee72e0b84320523bb7839aeb5 Mon Sep 17 00:00:00 2001
From: slashformotion <45801817+slashformotion@users.noreply.github.com>
Date: Sun, 15 Aug 2021 11:48:55 +0200
Subject: [PATCH] Markdown support in marginnote (#19)
Fixes #18
---
layouts/shortcodes/marginnote.html | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/layouts/shortcodes/marginnote.html b/layouts/shortcodes/marginnote.html
index 9616ead..114f749 100644
--- a/layouts/shortcodes/marginnote.html
+++ b/layouts/shortcodes/marginnote.html
@@ -9,4 +9,4 @@
id="marginnote-{{.Page.File.UniqueID}}-{{ $marginnoteDomIdSuffix }}"
class="margin-toggle"
/>
-{{ .Inner }}
+{{ .Inner | markdownify}}