chore(starters): update modules to latest commits
This commit is contained in:
27
content/courses/hugo-blox/guide/formatting/toggle.md
Normal file
27
content/courses/hugo-blox/guide/formatting/toggle.md
Normal file
@@ -0,0 +1,27 @@
|
||||
---
|
||||
title: Spoilers
|
||||
---
|
||||
|
||||
A Hugo shortcode to toggle collapsible content.
|
||||
|
||||
<!--more-->
|
||||
|
||||
## 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 */>}}
|
||||
````
|
||||
Reference in New Issue
Block a user