hugo-book-theme/exampleSite/content/docs/shortcodes/details.md
逊狼 fa0d46ccf5 Revert "🐞 fix issues 352"
This reverts commit 58f8935d1e.
2021-07-18 23:09:08 +08:00

459 B

Details

Details shortcode is a helper for details html5 element. It is going to replace expand shortcode.

Example

{{</* details "Title" [open] */>}}
## Markdown content
Lorem markdownum insigne...
{{</* /details */>}}
{{</* details title="Title" open=true */>}}
## Markdown content
Lorem markdownum insigne...
{{</* /details */>}}

{{< details "Title" open >}}

Markdown content

Lorem markdownum insigne... {{< /details >}}