58f8935d1e
Solve this problem: https://github.com/alex-shpak/hugo-book/issues/352 The Reason: https://github.com/gohugoio/hugo/issues/8688
459 B
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 >}}