• Reference

Tabbed content

To use Tabbed Content, enable the following extension in your mkdocs.yml:

markdown_extensions:
  - pymdownx.tabbed:
      alternate_style: true

To create a tab, start the line with === followed by the quoted title. If there is more than one consecutive tab, they will be grouped together. Example:

=== "Tab 1"

    Some content in tab 1

=== "Tab 2"

    Some content in tab 2

Will be rendered as:

Some content in tab 1

Some content in tab 2

If you have too many tabs, a scroll and left/right buttons will be added:

Some content in tab 1

Some content in tab 2

Some content in tab 3

Some content in tab 4

Some content in tab 5

Some content in tab 6

Some content in tab 7

Some content in tab 8

Some content in tab 9

Some content in tab 10