Description#
The tab-container shortcode allows you to organize content in tabs. To do so, nest as many tab shortcodes as needed inside a parent tab-container shortcode.
For example, display instructions depending on the operating system used.
Parameters#
tab-container#
| Name | Type(named/positional) | Description |
|---|
tab#
| Name | Type(named/positional) | Description |
|---|---|---|
| title | named | Tab title. NB: If not specified, the title is a default text defined by the theme. |
Examples#
| Markdown | Rendering | ||
|---|---|---|---|
| I am the first tab content.
I am the second tab content.
I am the third tab content. | ||
| Install on Linux: Install on macOS: Install on Windows: | ||
| I'm a legend
I am the second tab content.
I am the third tab content. | ||
| I’m a warning type alert I am the second tab content.
I am the third tab content. |