mirror of
https://github.com/thegeeklab/hugo-geekdoc.git
synced 2024-11-22 21:00:42 +00:00
45 lines
1.0 KiB
Markdown
45 lines
1.0 KiB
Markdown
---
|
|
title: Expand
|
|
---
|
|
|
|
Expand shortcode can help to decrease clutter on screen by hiding part of text. Expand content by clicking on it.
|
|
|
|
## Usage
|
|
|
|
```tpl
|
|
{{</* expand */>}}
|
|
### Markdown content
|
|
Dolor sit, sumo unique ...
|
|
{{</* /expand */>}}
|
|
```
|
|
|
|
It is also possible to use a custom label and symbol.
|
|
|
|
<!-- prettier-ignore-start -->
|
|
|
|
```tpl
|
|
{{</* expand "Custom Label" "..." */>}}
|
|
### More markdown
|
|
Dolor sit, sumo unique ...
|
|
{{</* /expand */>}}
|
|
```
|
|
|
|
## Example
|
|
|
|
{{< expand >}}
|
|
|
|
### Markdown content
|
|
|
|
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.
|
|
{{< /expand >}}
|
|
|
|
{{< expand "Custom Label" "..." >}}
|
|
|
|
### 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.
|
|
{{< /expand >}}
|