# Syntax highlighting for BBCode?

**URL:** https://meta.discourse.org/t/syntax-highlighting-for-bbcode/319581
**Category:** Support
**Created:** [July 30, 2024, 1:47pm UTC](https://meta.discourse.org/t/syntax-highlighting-for-bbcode/319581 "2024-07-30T13:47:54Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![NateDhaliwal](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/natedhaliwal/32/313494_2.png) [@NateDhaliwal](https://meta.discourse.org/u/NateDhaliwal)
#### Post date: [July 30, 2024, 1:47pm UTC](https://meta.discourse.org/t/syntax-highlighting-for-bbcode/319581/1 "2024-07-30T13:47:54Z")

</div>

Can the BBCode specify the language so that it has syntax highlighting?

---

<div class="post-metadata">

### Author: ![david](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/david/32/157490_2.png) [@david](https://meta.discourse.org/u/david)
#### Post date: [July 31, 2024, 9:43pm UTC](https://meta.discourse.org/t/syntax-highlighting-for-bbcode/319581/2 "2024-07-31T21:43:53Z")

</div>

It looks like the normal bbcode syntax would be something like `[code=js]`, but I don’t think we have support for that in Discourse.

Would probably be #pr-welcome if someone would like to implement it.
