Toggle
A Hugo shortcode to toggle collapsible content. <!--more--> {{< spoiler text="Click to view the spoiler" >}} You found me! Markdown is **supported*...
A Hugo shortcode to toggle collapsible content.
Example
{{< spoiler text="Click to view the spoiler" >}} You found me!
Markdown is supported. {{< /spoiler >}}
Usage
{{</* spoiler text="Click to view the spoiler" */>}}
This is the content of the details.
Markdown is **supported**.
{{</* /spoiler */>}}