uci-doc/exampleSite/content/shortcodes/expand.md

39 lines
952 B
Markdown
Raw Permalink Normal View History

2020-01-12 06:33:02 -08:00
Expand shortcode can help to decrease clutter on screen by hiding part of text. Expand content by clicking on it.
## Example
2020-05-31 09:17:32 -07:00
2020-01-12 06:33:02 -08:00
### Default
```tpl
{{</* expand */>}}
## Markdown content
2020-05-31 09:17:32 -07:00
Dolor sit, sumo unique ...
2020-01-12 06:33:02 -08:00
{{</* /expand */>}}
```
{{< expand >}}
2020-05-31 09:17:32 -07:00
2020-01-12 06:33:02 -08:00
## Markdown content
2020-05-31 09:17:32 -07:00
Dolor sit, sumo unique argument um no. Gracie nominal id xiv. Romanesque acclimates investiture. Ornateness bland it ex enc, est yeti am bongo detract re.
2020-01-12 06:33:02 -08:00
{{< /expand >}}
### With Custom Label
```tpl
{{</* expand "Custom Label" "..." */>}}
## Markdown content
2020-05-31 09:17:32 -07:00
Dolor sit, sumo unique ...
2020-01-12 06:33:02 -08:00
{{</* /expand */>}}
```
{{< expand "Custom Label" "..." >}}
2020-05-31 09:17:32 -07:00
## More markdown
Dolor sit, sumo unique argument um no. Gracie nominal id xiv. Romanesque acclimates
investiture. Ornateness bland it ex enc, est yeti am bongo detract re. Pro ad prompts
feud gait, quid exercise emeritus bis e. In pro quints consequent, denim fastidious
copious quo ad. Stet probates in duo.
2020-01-12 06:33:02 -08:00
{{< /expand >}}