Content Tabs¶
Extension: pymdownx.tabbed
Feature: content.tabs.link (syncs tab selection across the page)
Basic Tabs¶
Content for the first tab. Tabs are useful for showing platform-specific instructions or alternative approaches.
Content for the second tab. All tabs within a group stay in sync across the
page when content.tabs.link is enabled.
Content for the third tab. You can nest any Markdown content inside tabs, including code blocks, admonitions, and lists.
Syntax:
=== "Tab One"
Content for the first tab.
=== "Tab Two"
Content for the second tab.
=== "Tab Three"
Content for the third tab.
Code Tabs¶
A common use case is showing the same example in multiple languages:
Syntax: