tabs

Create a tabbed section of content to let users toggle visibility.

{{< tabs anchor="anchor-link" >}}

{{% tab name="tab-name-1" %}}
content
{{% /tab %}}

{{% tab name="tab-name-2" %}}
more content
{{% /tab %}}

{{< /tabs >}}

tabs should use angle bracket delimiters ({{< tabs ... >}}) to avoid processing whitespace between its child content.

tab should use percent sign delimiters ({{% tab ... %}}) to parse content.

Adapted from the tabs and tab shortcodes from k8s.

Examples

Renders to: