hugo-geekdoc/exampleSite/content/en/shortcodes/tabs.md

55 lines
1.5 KiB
Markdown
Raw Normal View History

---
title: Tabs
---
2020-01-12 14:33:02 +00:00
Tabs let you organize content by context, for example installation instructions for each supported platform.
<!-- prettier-ignore-start -->
2020-01-12 14:33:02 +00:00
```tpl
{{</* tabs "uniqueid" */>}}
2020-05-31 16:17:32 +00:00
{{</* tab "macOS" */>}} # macOS Content {{</* /tab */>}}
2020-01-12 14:33:02 +00:00
{{</* tab "Linux" */>}} # Linux Content {{</* /tab */>}}
{{</* tab "Windows" */>}} # Windows Content {{</* /tab */>}}
{{</* /tabs */>}}
```
<!-- prettier-ignore-end -->
2020-01-12 14:33:02 +00:00
## Example
{{< tabs "uniqueid" >}}
2020-05-31 16:17:32 +00:00
{{< tab "macOS" >}}
2020-01-12 14:33:02 +00:00
## macOS
2020-01-12 14:33:02 +00:00
2020-05-31 16:17:32 +00: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 14:33:02 +00:00
{{< /tab >}}
{{< tab "Linux" >}}
## Linux
2020-01-12 14:33:02 +00:00
This is tab **Linux** content.
2020-05-31 16:17:32 +00:00
Dolor sit, sumo unique argument um no. Gracie nominal id xiv. Romanesque acclimates
2021-04-27 21:44:35 +00:00
investiture. Ornateness bland it ex enc, est yeti am bongo detract re. Pro ad
2020-05-31 16:17:32 +00: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 14:33:02 +00:00
{{< /tab >}}
{{< tab "Windows" >}}
## Windows
2020-01-12 14:33:02 +00:00
This is tab **Windows** content.
2020-05-31 16:17:32 +00: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 14:33:02 +00:00
{{< /tab >}}
{{< /tabs >}}