layouts/shortcodes/detail-tag.html
<details>
<summary>{{ (.Get 0) | markdownify }}</summary>
{{ .Inner | markdownify }}
</details>
Markdown:
{{< detail-tag "CLICK ME" >}}
This text will be hidden
#### yes, even hidden code blocks! (seems like bold title dont work here too)
```python
print("hello world!")
```
{{< /detail-tag >}}