estradiol.cloud/layouts/shortcodes/code-details.html

7 lines
154 B
HTML

<p>
<details>
<summary>{{ .Get "summary" | markdownify }}</summary>
{{ printf "```%s%s```" (.Get "lang") (.Get "details") | markdownify}}
</details>
</p>