Files
portfolio-site/content/courses/hugo-blox/guide/formatting/toggle.md

368 B

title
title
Spoilers

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 */>}}