mirror of
https://ghfast.top/https://github.com/discourse/discourse-bbcode-color.git
synced 2026-05-06 18:42:57 +08:00
12 lines
380 B
Ruby
12 lines
380 B
Ruby
# frozen_string_literal: true
|
|
|
|
# name: discourse-bbcode-color
|
|
# about: Adds BBCode colors to the post formatting options.
|
|
# meta_topic_id: 65363
|
|
# version: 0.2
|
|
# authors: Neil Lalonde, Régis Hanol
|
|
# url: https://github.com/discourse/discourse-bbcode-color
|
|
|
|
after_initialize do
|
|
chat&.enable_markdown_feature("bbcode-color") if respond_to?(:chat) && SiteSetting.chat_enabled
|
|
end
|