Remove 'expand' shortcode, use 'details' instead

This commit is contained in:
Alex Shpak
2024-10-01 23:28:57 +02:00
parent 3f6dec2482
commit 55c4c45c74
2 changed files with 0 additions and 48 deletions
-13
View File
@@ -1,13 +0,0 @@
{{ warnf "Expand shortcode is deprecated. Use 'details' instead." }}
<div class="book-expand">
<label>
<div class="book-expand-head flex justify-between">
<span>{{ default (i18n "Expand") (.Get 0) }}</span>
<span>{{ default "↕" (.Get 1) }}</span>
</div>
<input type="checkbox" class="hidden" />
<div class="book-expand-content markdown-inner">
{{ .Inner | markdownify }}
</div>
</label>
</div>