23 lines
459 B
Markdown
23 lines
459 B
Markdown
|
# Details
|
||
|
|
||
|
Details shortcode is a helper for `details` html5 element. It is going to replace `expand` shortcode.
|
||
|
|
||
|
## Example
|
||
|
```tpl
|
||
|
{{</* details "Title" [open] */>}}
|
||
|
## Markdown content
|
||
|
Lorem markdownum insigne...
|
||
|
{{</* /details */>}}
|
||
|
```
|
||
|
```tpl
|
||
|
{{</* details title="Title" open=true */>}}
|
||
|
## Markdown content
|
||
|
Lorem markdownum insigne...
|
||
|
{{</* /details */>}}
|
||
|
```
|
||
|
|
||
|
{{< details "Title" open >}}
|
||
|
## Markdown content
|
||
|
Lorem markdownum insigne...
|
||
|
{{< /details >}}
|