✨ Add details shortcode
This commit is contained in:
parent
e361ac1ead
commit
51f8eda19a
2 changed files with 12 additions and 0 deletions
|
@ -60,6 +60,14 @@ body{
|
|||
}
|
||||
|
||||
overflow-wrap: break-word;
|
||||
|
||||
summary {
|
||||
margin-bottom: 4px;
|
||||
}
|
||||
|
||||
details {
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
}
|
||||
|
||||
.page{
|
||||
|
|
4
layouts/shortcodes/details.html
Normal file
4
layouts/shortcodes/details.html
Normal file
|
@ -0,0 +1,4 @@
|
|||
<details>
|
||||
<summary>{{ (.Get 0) | markdownify }}</summary>
|
||||
{{ .Inner | markdownify }}
|
||||
</details>
|
Loading…
Add table
Reference in a new issue