blob: d54a0771f860cd5f96fb2d50a75749ba4a4ddfad (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
{{ $id := md5 (printf (.Get `mark`) .Inner) }}
<span class="sidenote-container">
<label
for="{{ $id }}"
class="sidenote-toggle sidenote-mark"
title="{{ .Inner | replaceRE "\n" " " | markdownify }}">
<span>{{ .Get `mark` | markdownify }}</span></label>
<input type="checkbox" id="{{ $id }}" class="sidenote-toggle">
<span class="sans-serif sidenote {{ .Get `set` }}note">
<mark>{{ .Inner | markdownify }}</mark>
</span>
</span>
|