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

49 lines
1.4 KiB
Markdown
Raw Normal View History

2020-01-12 06:33:02 -08:00
Tabs let you organize content by context, for example installation instructions for each supported platform.
```tpl
{{</* tabs "uniqueid" */>}}
2020-05-31 09:17:32 -07:00
{{</* tab "macOS" */>}} # macOS Content {{</* /tab */>}}
2020-01-12 06:33:02 -08:00
{{</* tab "Linux" */>}} # Linux Content {{</* /tab */>}}
{{</* tab "Windows" */>}} # Windows Content {{</* /tab */>}}
{{</* /tabs */>}}
```
## Example
{{< tabs "uniqueid" >}}
2020-05-31 09:17:32 -07:00
{{< tab "macOS" >}}
2020-01-12 06:33:02 -08:00
2020-05-31 09:17:32 -07:00
# macOS
2020-01-12 06:33:02 -08:00
2020-05-31 09:17:32 -07:00
This is tab **macOS** 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. 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
{{< /tab >}}
{{< tab "Linux" >}}
# Linux
This is tab **Linux** content.
2020-05-31 09:17:32 -07:00
Dolor sit, sumo unique argument um no. Gracie nominal id xiv. Romanesque acclimates
2020-09-10 13:23:24 -07:00
investiture. **Ornateness** bland it ex enc, est yeti am bongo detract re. Pro ad
2020-05-31 09:17:32 -07:00
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
{{< /tab >}}
{{< tab "Windows" >}}
# Windows
This is tab **Windows** 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. Pro ad
prompts feud gait, quid exercise emeritus bis e. In pro quints consequent.
2020-01-12 06:33:02 -08:00
{{< /tab >}}
{{< /tabs >}}