Spoilers

A Hugo shortcode to toggle collapsible content.

Example

Click to view the spoiler

You found me!

Markdown is supported.

Usage

1{{< spoiler text="Click to view the spoiler" >}}
2
3This is the content of the details.
4
5Markdown is **supported**.
6
7{{< /spoiler >}}
docs