Files
hextra/exampleSite/content/docs/guide/shortcodes/details.md
2023-09-02 15:47:36 +01:00

592 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="Details Closed" closed="true" %}}

This will be closed by default.

{{% /details %}}

Usage

{{%/* details title="Details" */%}}

This is the content of the details.

Markdown is **supported**.

{{%/* /details */%}}
{{%/* details title="Details Closed" closed="true" */%}}

This will be closed by default.

{{%/* /details */%}}