# Custom tags?

**URL:** <https://meta.discourse.org/t/custom-tags/250335>\
**Category:** Development\
**Created:** [January 1, 2023, 7:16pm UTC](https://meta.discourse.org/t/custom-tags/250335 "2023-01-01T19:16:58Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Samir\_Sabri](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/samir_sabri/32/287380_2.png) [@Samir\_Sabri](https://meta.discourse.org/u/Samir_Sabri)\
**Post date:** [January 1, 2023, 7:16pm UTC](https://meta.discourse.org/t/custom-tags/250335/1 "2023-01-01T19:16:58Z")

</div>

Hello

Is there a way to add custom tag that would be replaced by custom javascript and HTML tags ?  
Example, `<my_custom_tag>custom tag content</my_custom_tag>` that would be replaced by html tags that I can define, is there a way to do so?

---

<div class="post-metadata">

**Author:** ![Canapin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/canapin/32/119591_2.png) [@Canapin](https://meta.discourse.org/u/Canapin)\
**Post date:** [January 1, 2023, 7:46pm UTC](https://meta.discourse.org/t/custom-tags/250335/2 "2023-01-01T19:46:42Z")

</div>

Have you a practical example of what would you to be the result, based on your example `<my_custom_tag>custom tag content</my_custom_tag>`?

And what would be the goal (in terms of features) of such “custom tags”?

---

<div class="post-metadata">

**Author:** ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)\
**Post date:** [January 1, 2023, 8:32pm UTC](https://meta.discourse.org/t/custom-tags/250335/3 "2023-01-01T20:32:20Z")

</div>

Check out the [Beginner’s guide to developing Discourse Themes](https://meta.discourse.org/t/beginners-guide-to-developing-discourse-themes/93648). And including information about your problem rather than a solution might help get better answers here.

---

<div class="post-metadata">

**Author:** ![Samir\_Sabri](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/samir_sabri/32/287380_2.png) [@Samir\_Sabri](https://meta.discourse.org/u/Samir_Sabri)\
**Post date:** [January 2, 2023, 2:49pm UTC](https://meta.discourse.org/t/custom-tags/250335/4 "2023-01-02T14:49:24Z")

</div>

For example, I am thinking to embed a clickable image into forum for discussion, that will open a specific URL in a new tab when users click at, also image glow when mouser over.

So, ex: `<custom_tag>432345</custom_tag>` then be replaced with the html template to show the related image with required clickable behaviour and mouse over glow.

Users will get the custom tag as generated from my application.

---

<div class="post-metadata">

**Author:** ![merefield](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/merefield/32/176214_2.png) [@merefield](https://meta.discourse.org/u/merefield)\
**Post date:** [January 2, 2023, 3:06pm UTC](https://meta.discourse.org/t/custom-tags/250335/5 "2023-01-02T15:06:22Z")

</div>

Sounds a lot like [Mentionables](https://meta.discourse.org/t/mentionables/192948)

(Which at the time of writing is broken on the front end. I will fix it very soon. I recently PR’d to fix the BE)
