Semantic Blocks
Zolt uses the "Triple Colon" syntax ::: for semantic containers like alerts, tabs, accordions, and columns.
Callouts (Info Boxes)
Display important information with styled containers.
Types
:::info [Information]
This is an informational message.
:::
:::warning [Warning]
This is a warning message.
:::
:::error [Error]
This is an error message.
:::
:::success [Success]
This is a success message.
:::
:::note [Note]
This is a note.
:::
This is an informational message.
This is a warning message.
This is an error message.
This is a success message.
This is a note.
With Attributes
:::info [Custom Title] {color=red}
Styled callout with custom attributes.
:::
Styled callout with custom attributes.
Accordions (Details)
Create collapsible content sections.
Basic Syntax
:::details [Click to expand]
Hidden content that appears when clicked.
:::
Click to expand
Hidden content that appears when clicked.
With Attributes
:::details [Open by default] {open=true}
This content is visible by default.
:::
Open by default
This content is visible by default.
Example
:::details [Installation Steps]
1. Download the installer
2. Run the executable
3. Follow the wizard
:::
:::details [Configuration Options]
- Option A
- Option B
- Option C
:::
Installation Steps
- Download the installer
- Run the executable
- Follow the wizard
Configuration Options
- Option A
- Option B
- Option C
Tabs
Organize content into tabbed sections.
Basic Syntax
:::tabs
:::tab [Tab One]
Content of the first tab.
:::
:::tab [Tab Two]
Content of the second tab.
:::
:::tab [Tab Three]
Content of the third tab.
:::
:::
Content of the first tab.
Content of the second tab.
Content of the third tab.
With Default Tab
:::tabs {default=Python}
:::tab [JavaScript]
console.log("Hello");
:::
:::tab [Python]
print("Hello")
:::
:::
console.log("Hello");
print("Hello")
With Active Tab
:::tabs
:::tab [Step 1]
First step content.
:::
:::tab [Step 2] {active=true}
Second step content (shown by default).
:::
:::
First step content.
Second step content (shown by default).
Columns
Create multi-column layouts.
Basic Columns
:::columns
:::column
First column content.
:::
:::column
Second column content.
:::
:::
First column content.
Second column content.
Column Widths
:::columns
:::column {width=70%}
Main content (70% width).
:::
:::column {width=30%}
Sidebar content (30% width).
:::
:::
Main content (70% width).
Sidebar content (30% width).
Three Columns
:::columns {cols=3}
:::column
**Left Column**
Content here.
:::
:::column
**Center Column**
Content here.
:::
:::column
**Right Column**
Content here.
:::
:::
Left Column
Content here.
Center Column
Content here.
Right Column
Content here.
Combined Example
:::columns
:::column {width=60%}
### Main Content
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
:::details [Learn more]
Additional details that can be expanded.
:::
:::
:::column {width=40%}
### Sidebar
- [Link 1](@link1)
- [Link 2](@link2)
- [Link 3](@link3)
:::info [Note]
Important sidebar information.
:::
:::
:::
Best Practices
- Use appropriate types for callouts (warning vs error)
- Keep accordions concise for user experience
- Limit tabs to 3-5 for usability
- Use columns for side-by-side comparisons
- Test layouts across different screen sizes
© 2026 Marmotz