Doc

Collapse

Collapse Sugam Pokharel

The collapse shortcode creates a <details> block. Use title and optional open="true". The block is closed by default.

Shortcode Example

HTML
1
2
3
{{< collapse title="Advanced Note" open="false" >}}
This text is hidden until expanded.
{{< /collapse >}}

Actual Use

Advanced Note

This text is hidden until expanded.

Open by default

This section starts expanded.

Share this article