Discourse BBCode Color

:discourse2: Summary Discourse BBCode Color adds BBCode colors to the post formatting options.
:hammer_and_wrench: Repository Link https://github.com/discourse/discourse-bbcode-color
:open_book: Install Guide How to install plugins in Discourse

The Discourse BBCode Color plugin enhances the Markdown composer [1] with support for the BBCode [color] syntax and text background colors.

Features

Set colors inline with:

[color=#aaa]text[/color]
[color=red]text[/color]

Set background colors with:

[bgcolor=#aaa]text[/bgcolor]
[bgcolor=red]text[/bgcolor]

:warning: Caution: These features can easily be used for abuse by hiding text and making text unreadable. BBCode will also make your markup less understandable.


  1. This plugin is not built for the rich text mode of the composer, so you may need to use the image toggle to switch to Markdown mode when using these codes. If your community relies on this plugin, you can update the default_composition_mode site setting to ensure that members see the Markdown mode of the composer by default. ↩︎

Last edited by @lindsey 2025-10-23T20:00:45Z

Check documentPerform check on document:
22개의 좋아요

Hi,
sorry, I do not understand. What is the purpose of this plugin, as the Discourse BBCode plugin also handles the color codes. I’m sure it is just a misconception here on my side and I am stuck somewhere. Please bring me up to speed. :slight_smile:
Regards

1개의 좋아요

Hm, no, the repo is different and also the content looks different:
https://github.com/discourse/discourse-bbcode

1개의 좋아요

Oh apologies, you are right. Still odd I agree.

If you just need coloured text, consider:

No, I migrated from phpBB to Discourse. So I have a lot of BBCode in thousands of posts. I only have the discourse-bbcode plugin installed - and always was wondering about the differences.

1개의 좋아요

From having a little investigation it seems that it was kept as two plugins so people could have the option of having just the simpler colour version without everything else included as well.

4개의 좋아요

이 플러그인을 기반으로 사용자 인터페이스에서 단 하나의 버튼으로 미리 정의된 색상을 빠르게 선택하거나 드롭다운 메뉴를 통해 선택할 수 있도록 하는 플러그인 또는 테마 구성 요소가 제공될 예정인가요?

1개의 좋아요