I asked AI and it says I can’t do that. True or hallucinations?
Using BBCode in Discourse Watched Words AI
Jagster:
I’m using watched words to replace some terms. Can I use bbCode in replacing content?
DiscourseHelper:
Searching
Searching for: Can bbCode be used in watched words replacement content terms? Discourse features options support limitations
Reading
In Discourse, when using watched words to replace terms, you can indeed use BBCode in the replacement content. However, only a subset of common BBCode tags is supported. The supported tags include basic text formatting like [b]strong[/b]
, [i]emphasis[/i]
, [u]underlined[/u]
, [s]strikethrough[/s]
, and certain other tags for images, URLs, and quotes.
Here is a basic example of using BBCode:
- Bold text:
[b]This is bold[/b]
- Italic text:
[i]This is italic[/i]
- Underlined text:
[u]This is underlined[/u]
For more specific styling like color changes, BBCode also includes [color=red]Red text[/color]
, but support for color may require additional plugins or adjustments, as described in this topic on Discourse BBCode.
Lastly, if you’re looking to add custom BBCode or have more complex formatting requirements, further customization or use of plugins might be necessary.
For more details on supported BBCode in Discourse, you can review the comprehensive list in the Discourse Formatting Guide.