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

49 lines
1.4 KiB
Markdown
Raw Normal View History

2020-01-12 14:33:02 +00:00
Tabs let you organize content by context, for example installation instructions for each supported platform.
```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 */>}}
```
## Example
{{< tabs "uniqueid" >}}
2020-05-31 16:17:32 +00:00
{{< tab "macOS" >}}
2020-01-12 14:33:02 +00:00
2020-05-31 16:17:32 +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
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
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 >}}