Details (Collapsible)

Academy theme details/collapsible shortcode.

The academy-theme details shortcode renders a collapsible content block.

{{< details summary="Click to expand" open="true" >}}
Collapsed content here. Supports **Markdown**.
{{< /details >}}

Parameters:

ParameterDescriptionDefault
summaryClickable summary text(empty)
openSet to "true" to start expandedcollapsed

Expanded by default:

Academy theme details (open)

This is the academy-theme implementation of the details shortcode. It starts expanded because open="true" is set.

  • Supports Markdown formatting
  • Lists, code, and emphasis all render correctly

Collapsed by default:

Click to reveal hidden content
This content was hidden until you clicked the summary. The details shortcode is useful for FAQs, optional information, or reducing page length.