#39, Add expand and tabs shortcodes

This commit is contained in:
Alex Shpak
2019-05-22 14:37:31 +02:00
parent 8f5aaee7aa
commit 0e6864f5aa
11 changed files with 159 additions and 5 deletions
+12
View File
@@ -0,0 +1,12 @@
<div class="book-expand">
<label>
<div class="book-expand-head flex justify-between">
<span>{{ default "Expand" (.Get 0) }}</span>
<span>{{ default "↕" (.Get 1) }}</span>
</div>
<input type="checkbox" style="display: none" />
<div class="book-expand-content markdown-inner">
{{- .Inner | markdownify -}}
</div>
</label>
</div>