mirror of
https://github.com/imfing/hextra.git
synced 2025-07-01 08:57:17 -04:00

* feat: details shortcode
* docs: add details shortcode page
* chore: update shortcodes page
* docs: update
* Revert "chore: update shortcodes page"
This reverts commit c005ad4cb1
.
600 B
600 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 */%}}