Markdown support in all shortcodes ()

Fixes 
This commit is contained in:
slashformotion 2021-08-15 14:28:10 +02:00 committed by GitHub
commit 628637be81
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 4 additions and 4 deletions
layouts/shortcodes

View file

@ -1,3 +1,3 @@
{{ $sidenoteDomIdSuffix := .Ordinal }}<label for="sidenote-{{.Page.File.UniqueID}}-{{ $sidenoteDomIdSuffix }}" class="margin-toggle sidenote-number"></label>
<input type="checkbox" id="sidenote-{{.Page.File.UniqueID}}-{{ $sidenoteDomIdSuffix }}" class="margin-toggle"/>
<span class="sidenote">{{ .Inner }}</span>
<span class="sidenote">{{ .Inner | markdownify }}</span>