Tabs

Tabs group alternative versions of the same content – typically one snippet in several languages:

:::::tabs
::::tab{name="Python"}
```python
print("hello")
```
::::
::::tab{name="Julia"}
```julia
println("hello")
```
::::
:::::
Python
print("hello")
Julia
println("hello")

Structure:

  • The outer :::::tabs (five colons) wraps the group; each ::::tab (four colons) is one alternative, with its label in {name="..."}.
  • The colon counts follow the nesting rule: outer deeper than inner, and each tab's body (often a three-colon-free code block) sits inside a four-colon tab.
  • A tab body is full Markdown.

Current rendering: the panels render stacked, each under its label, so the document stays fully readable (and printable) top to bottom. Click-to- switch tabs are a planned enhancement on the reading page; the syntax will not change.