Skip to content

Tabs widget

Gus edited this page Oct 26, 2018 · 4 revisions

Tabs widget allows you to display on the same doc level different tabs.

https://docs.datadoghq.com/agent/faq/agent-commands/?tab=agentv6

To use the Tabs widget use the following tabs partial:

{{< tabs >}}
{{% tab "<TAB_NAME>" %}}

<TAB_CONTENT>

{{% /tab %}}
{{< /tabs >}}

To add more tabs, use more tab partial:

{{< tabs >}}
{{% tab "<TAB_NAME_1>" %}}

<TAB_CONTENT_1>

{{% /tab %}}
{{% tab "<TAB_NAME_2>" %}}

<TAB_CONTENT_2>

{{% /tab %}}
{{< /tabs >}}

Tabs support:

  • Titles
  • Images
  • Array
  • Links
  • Code blocks

Note: If reference links are set-up inside your tab, then their references should be in the same tab and not at the bottom of the page, e.g:

{{< tabs >}}
{{% tab "<MY_TAB_1_NAME>" %}}

[Datadog Documentation][1]

[1]: https://docs.datadoghq.com/
{{% /tab %}}
{{< /tabs >}}