Markdown support in marginnote (#19)

Fixes #18
This commit is contained in:
slashformotion 2021-08-15 11:48:55 +02:00 committed by GitHub
parent d73348e8cd
commit 4e38a13914
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -9,4 +9,4 @@
id="marginnote-{{.Page.File.UniqueID}}-{{ $marginnoteDomIdSuffix }}"
class="margin-toggle"
/>
<span class="marginnote">{{ .Inner }}</span>
<span class="marginnote">{{ .Inner | markdownify}}</span>