# Watch/replace with bbCode?

**URL:** https://meta.discourse.org/t/watch-replace-with-bbcode/335003
**Category:** Support
**Tags:** bbcode, watched-words
**Created:** [November 7, 2024, 4:53pm UTC](https://meta.discourse.org/t/watch-replace-with-bbcode/335003 "2024-11-07T16:53:04Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Jagster](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jagster/32/192154_2.png) [@Jagster](https://meta.discourse.org/u/Jagster)
#### Post date: [November 7, 2024, 4:53pm UTC](https://meta.discourse.org/t/watch-replace-with-bbcode/335003/1 "2024-11-07T16:53:04Z")

</div>

Continuing the discussion from [How do I prevent unicode heart from become ❤ when posting?](https://meta.discourse.org/t/how-do-i-prevent-unicode-heart-from-become-when-posting/334850):

I don’t get that watched word thing

If I’m watching `reply-button` and replacing it with `<kbd>[wrap=icon id=fa-share][/wrap]&nbsp;Reply</kbd>` I get a button, but everything else is in text form like this:

`[wrap=icon id=fa-share][/wrap]&nbsp;Reply`

HTML is checked and it doesn’t care if I have or haven’t `fa-share` in svg sub list.

But if I use it directly in a post it works, as here: &nbsp;Reply

What don’t I get now?

---

<div class="post-metadata">

### Author: ![Jagster](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jagster/32/192154_2.png) [@Jagster](https://meta.discourse.org/u/Jagster)
#### Post date: [November 7, 2024, 6:43pm UTC](https://meta.discourse.org/t/watch-replace-with-bbcode/335003/2 "2024-11-07T18:43:38Z")

</div>

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**
> >
> > Read: [Formatting posts using markdown, BBCode, and HTML](https://meta.discourse.org/t/formatting-posts-using-markdown-bbcode-and-html/239348)
> 
> 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](https://meta.discourse.org/t/discourse-bbcode/65425).
> 
> 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](https://meta.discourse.org/t/formatting-posts-using-markdown-bbcode-and-html/239348).

---

<div class="post-metadata">

### Author: ![Jagster](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jagster/32/192154_2.png) [@Jagster](https://meta.discourse.org/u/Jagster)
#### Post date: [February 18, 2025, 9:40am UTC](https://meta.discourse.org/t/watch-replace-with-bbcode/335003/3 "2025-02-18T09:40:47Z")

</div>

I guess it was true, so I mark that as an solution to close this topic to clean up places a bit. Still I don’t know for sure.

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [March 20, 2025, 9:40am UTC](https://meta.discourse.org/t/watch-replace-with-bbcode/335003/4 "2025-03-20T09:40:51Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
