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개의 좋아요

안녕하세요,
죄송하지만 이해가 되지 않습니다. Discourse BBCode 플러그인도 색상 코드를 처리하는데, 이 플러그인의 목적은 무엇인가요? 제 이해의 오류인 것 같아 막혀 있는 것 같습니다. 설명을 부탁드립니다. :slight_smile:
감사합니다

1개의 좋아요

음, 아니요, 저장소가 다르고 내용도 다르게 보입니다:

1개의 좋아요

아, 죄송합니다. 말씀이 맞습니다. 여전히 이상하긴 하네요.

단순히 색상 있는 텍스트만 필요하시다면 다음을 고려해 보세요:

아니요, 저는 phpBB에서 Discourse로 이주했습니다. 그래서 수천 개의 게시물에 BBCode가 많이 있습니다. discourse-bbcode 플러그인만 설치되어 있고, 항상 두 시스템 간의 차이에 대해 궁금해하고 있었습니다.

1개의 좋아요

조금 조사해 본 결과, 더 단순한 색상 버전만 별도로 사용할 수 있도록 모든 기능이 포함된 버전과 분리하여 두 개의 플러그인으로 유지한 것으로 보입니다.

4개의 좋아요

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

1개의 좋아요