Features
-
Create tabbed interfaces in posts using simple BBCode syntax
-
Full markdown support inside tabs
-
Tabs work with both light and dark themes
-
Responsive design for mobile devices
-
Keyboard navigation (arrow keys) between tabs
-
Tab selection is remembered between page loads
Installation
Settings
This plugin provides several site settings that can be configured in the Discourse admin interface under Plugins > BBCode Tabs:
-
bbcode_tabs_enabled: Enable or disable the BBCode Tabs plugin (default: true)
-
bbcode_tabs_first_tab_active: Automatically select the first tab by default (default: true)
-
bbcode_tabs_remember_selection: Remember tab selection between page loads (default: true)
Usage
You can add tabbed content to your posts using the following BBCode syntax:
[tabs]
[tab=Tab Title 1]
Content for tab 1
[/tab]
[tab=Tab Title 2]
Content for tab 2
[/tab]
[tab=Tab Title 3]
Content for tab 3
[/tab]
[/tabs]
Content for tab 1
Content for tab 2
Content for tab 3
The first tab will be selected by default.