forked from drowl87/hextra_mirror

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