Tabs Shortcode
The tabs shortcode allows you to create tabbed content sections in your Hugo posts or pages.
It supports multiple tabs with titles and content, automatically handling tab switching.
Usage
Basic Tabs
| |
Tabs With Markdown Inside
| |
Parameters
| Parameter | Required | Default | Description |
|---|---|---|---|
| title | Yes | - | Title of the tab, displayed on the tab button |
| content | Yes | - | Content inside the tab (supports Markdown) |
| Inner content | Yes | - | All tabs separated by `<!--tab-->` comments |
Note: The first tab is active by default.