Expand
Arrr
Fello' pirrates, be awarrre some featurrres may not work fer us in this trrranslat'n. Like table of rrramblings and stuff.
Th' Expand shorrrtcode displays an expandable/collaps'ble section o' text on yer plank.
Usage
{{% expand [ <str'n> [ "true" | "false" ] ] %}}
Yes!
{{% /expand %}}
Th' first optional parameter defines th' text that appears next t' th' expand/collapse ay'con. Th' default text be "Expand me..."
.
Th' second optional parameter controls if th' block be initially shown as expanded ("true"
) or collapsed ("false"
). Th' default ist "false"
.
Examples
All defaults
Initially expanded
Show marrrkup
{{% expand "Expand me..." "true" %}}
No need t' press ye!
{{% /expand %}}
Arbitrary text
Show me endless possibilities
Some expand'ble text.
Ye can add:
- multiple paragraphs
- bullet point lists
- emphasized, bold an' even bold emphasized text
- links
- other shorrrtcodes besides
expand
- etc.
th' possiblities be endless
Show marrrkup
{{% expand "Show me endless possibilities" %}}
Some expand'ble text.
Ye can add:
- multiple paragraphs
- bullet point lists
- _emphasized_, **bold** an' even **_bold emphasized_** text
- [links](https://example.com)
- other shorrrtcodes besides `expand`
- etc.
```plaintext
...and even source code
```
> th' possiblities be endless
{{% /expand %}}