hugo-theme-hilfe/exampleSite/content/shortcodes/tabs.md

49 lines
1.4 KiB
Markdown
Raw Normal View History

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