Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
51 changes: 51 additions & 0 deletions docs/contributing/documentation/myst-reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -350,6 +350,57 @@ print(f"my {a}nd line")
```
````

### Tabs

A simple tab component without synchronization, using a basic tab-set.

::::{tab-set}

:::{tab-item} Label1
Content 1
:::

:::{tab-item} Label2
Content 2
:::

::::

A synchronized tab component, where tab selection is linked across multiple tab-sets using a unique sync key.

::::{tab-set}
:sync-group: category

:::{tab-item} Label1
:sync: key1

Content 1
:::

:::{tab-item} Label2
:sync: key2

Content 2
:::

::::

::::{tab-set}
:sync-group: category

:::{tab-item} Label1
:sync: key1

Content 1
:::

:::{tab-item} Label2
:sync: key2

Content 2
:::

::::

### Escape literal backticks inline

Expand Down