首页 节点 发帖 消息 我的
一起AI社区

致力于打造一个没有门槛的AI交流社区! 口耳相传AI网

关于小黑屋帮助FAQ协议排行榜
一起AI社区 @ 2026 京ICP备18062017号 京公网安备11011102002503号 ICP证:京B2-20201359·Powered by Rhex Plus 1.1.0
首页
AI技术
综合模型公告💬错误的地方
AI工具
QoderTraeCodexCC SwitchStable DiffusionClaude Code
AI资源
AFFFREE中转站导航
域名建站
域名建站RhexDiscourse
0

来自 Discoze 社区

回复讨论
3

登录后可参与回复讨论。

一起AI社区 Logo

一起AI社区

登录后即可签到、查看积分与快捷发帖

一起AI社区是一个AI交流社区论坛,可以自由分享和获取AI相关的信息与资源。

相关主题

zawuba.com 杂物吧,趣域一口价处理中。。。。DisCoke.com论坛试运行啦。大羊毛,阿里云国内免费CDN,可以刷到 2050 年,有需要的可以去薅。最近在倒腾HEXO,感觉还挺有意思,就是特么的都要自己手动。。。Investment Fund of €1,700,000.00 euro

主题标签

全部标签
暂无标签
目录
Discourse BBCode Tabs PluginFeaturesInstallationSettingsUsageExamplesBasic ExampleTabs with Rich Content
文明发言,理性讨论
秦始黄正黄 · dc_1·2025/10/14 08:50
BerSon OP回复 @秦始黄正黄 · dc_1·2025/10/14 09:06
回复 @秦始黄正黄 · dc_1

感谢分享 但安装方法错误 最新的安装方法是找到containers/app.yml文件 把插件写进去 然后重建a...

秦始黄正黄 · dc_1回复 @BerSon·2025/10/14 09:09
回复 @BerSon

还没开始研究disourse呢,这是从NL转过来的。 这两天省点饭钱,去买一个小鸡来研究。

首页
域名建站
域名建站 节点
域名帖 120建站帖 298Rhex帖 23Discourse帖 75
Discourse

Discourse bbcode tabs 插件开源,让你的论坛帖子内容也支持多页签显示

插件地址:https://github.com/nodeloc/discourse-bbcode-tabs

Discourse BBCode Tabs Plugin

This plugin adds support for tabbed content in Discourse posts using BBCode syntax. It allows users to create multiple tabs with different content that can be switched between without reloading the page.

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

Follow the plugin installation guide:

text
cd /var/discourse git clone https://github.com/discourse/discourse-bbcode-tabs.git plugins/discourse-bbcode-tabs ./launcher rebuild app

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:

text
[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]

The first tab will be selected by default.

Examples

Basic Example

text
[tabs] [tab=一列] 在此填写你的文本,在此填写你的文本,在此填写你的文本,在此填写你的文本 [/tab] [tab=二列] 在此填写你的文本,在此填写你的文本,在此填写你的文本,在此填写你的文本 [/tab] [/tabs]

This will create two tabs labeled “一列” and “二列” with the specified content in each tab.

Tabs with Rich Content

You can use any Discourse-supported markdown inside tabs:

text
[tabs] [tab=Text] Regular text with **bold** and *italic* formatting. You can include paragraphs and [links](https://example.com/). [/tab] [tab=List] * Item 1 * Item 2 * Nested item * Item 3 1. Numbered item 2. Another numbered item [/tab] [tab=Code] ```python def hello_world(): print("Hello, world!")

You can include code blocks with syntax highlighting.

[/tab]

[tab=Image]

Images can be included too!

[/tab]

[/tabs]

text
## Accessibility The plugin includes accessibility features: - Keyboard navigation with arrow keys - Proper ARIA roles for tabs - High contrast between selected and unselected tabs ## License MIT # discourse-bbcode-tabs
站点 Logo
一起AI社区
站点 Logo
一起AI社区
勋章排行能量邀请邀请商城

自助推广

说明
图片广告位 1
图片广告位 2
图片广告位 3
ZHUTI.COM好域名待售点击购买点击购买
·2025/10/14 08:46
BerSon