Files
hextra_mirror/docs/content/docs/guide/shortcodes/details.md

616 B

title
title
Details

A built-in component to display a collapsible content.

Example

{{< details title="Details" >}}

This is the content of the details.

Markdown is supported.

{{< /details >}}

{{< details title="Click me to reveal" closed="true" >}}

This will be hidden by default.

{{< /details >}}

Usage

{{</* details title="Details" */>}}

This is the content of the details.

Markdown is **supported**.

{{</* /details */>}}
{{</* details title="Click me to reveal" closed="true" */>}}

This will be hidden by default.

{{</* /details */>}}