Details
exported by ox-hugo on Org_Mode & Emacs A built-in component to display a collapsible content.
Example
Details
This is the content of the details.
Markdown is supported.
Click me to reveal
This will be hidden by default.
Usage
Org-Mode
Org-Mode
#+attr_shortcode: title="Details"
#+begin_details
This is the content of the details.
Markdown is *supported*.
#+end_details
Org-Mode
#+attr_shortcode: title="Click me to reveal" closed="true"
#+begin_details
This will be hidden by default.
#+end_details
Markdown
{{% 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 %}}
마지막 수정일자