Skip to content

tabs

Tabbed panels for variants — platforms, package managers, languages.

tabs groups tab children into keyboard-accessible tabbed panels. Each tab takes its title as the first positional parameter (or title=). Panels hold any Markdown, including code blocks.

[module]
  [[module.imports]]
    path = "github.com/fernandezvara/hugodoks"

Source

{{< tabs >}}
  {{< tab "Hugo module" >}}
  ```toml
  path = "github.com/fernandezvara/hugodoks"
  ```
  {{< /tab >}}
  {{< tab "Git submodule" >}}
  theme = "hugodoks"
  {{< /tab >}}
{{< /tabs >}}
Edit this page · Last updated 01 Jan 0001