webpage/themes/hugo-book/exampleSite/content.en/docs/shortcodes/details.md
kekskurse 27e6a14105 init
2024-11-26 23:25:09 +01: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 %}}