Tabs
Put alternatives for the same thing side by side, such as install commands or languages.
Each :::tab[label] inside ::::tabs is one tab.
::::tabs
:::tab[pip]
`pip install dokk`
:::
:::tab[uv]
`uv pip install dokk`
:::
::::
pip install dokk
uv pip install dokk
Nesting
An outer fence needs more colons than the one inside it, as with ::::tabs around :::tab.
Synced tabs #
Give tab sets the same sync key and they switch together. The reader’s choice is remembered
on every page.
::::tabs{sync="pkg"}
:::tab[pip]
`pip install dokk`
:::
:::tab[uv]
`uv pip install dokk`
:::
::::
pip install dokk
uv pip install dokk
pip install "dokk[search]"
uv pip install "dokk[search]"