You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
36 lines
798 B
Markdown
36 lines
798 B
Markdown
2 years ago
|
# Expand
|
||
|
|
||
|
Expand shortcode can help to decrease clutter on screen by hiding part of text. Expand content by clicking on it.
|
||
|
|
||
|
## Example
|
||
|
### Default
|
||
|
|
||
|
```tpl
|
||
|
{{</* expand */>}}
|
||
|
## Markdown content
|
||
|
Lorem markdownum insigne...
|
||
|
{{</* /expand */>}}
|
||
|
```
|
||
|
|
||
|
{{< expand >}}
|
||
|
## Markdown content
|
||
|
Lorem markdownum insigne...
|
||
|
{{< /expand >}}
|
||
|
|
||
|
### With Custom Label
|
||
|
|
||
|
```tpl
|
||
|
{{</* expand "Custom Label" "..." */>}}
|
||
|
## Markdown content
|
||
|
Lorem markdownum insigne...
|
||
|
{{</* /expand */>}}
|
||
|
```
|
||
|
|
||
|
{{< expand "Custom Label" "..." >}}
|
||
|
## Markdown content
|
||
|
Lorem markdownum insigne. Olympo signis Delphis! Retexi Nereius nova develat
|
||
|
stringit, frustra Saturnius uteroque inter! Oculis non ritibus Telethusa
|
||
|
protulit, sed sed aere valvis inhaesuro Pallas animam: qui _quid_, ignes.
|
||
|
Miseratus fonte Ditis conubia.
|
||
|
{{< /expand >}}
|