codetag to highlight BBCodes, like it currently does with PHP by default.
Or maybe create a new tag for BBCodes.
It's only a visual/cosmetic improvement and I'm not sure if it would be worth the time, that's why I didn't open any phpBB Idea or RFC. I hope this is the right place to suggest it.
Please note that this is not a request for a full highlighting solution like Geshi (that has already been discussed before). For specific languages like C++ or Java we already have a few 3.0.x mods and an 3.1.x extension under development (Codebox Plus).
BBCode highlighting could be as simple as
[ code = bbcode ]Your BBCode here[ / code ](without spaces).
[bbcode]Your BBCode here[/bbcode](as a new tag).
This would output a code box with colored text, similar to this draft:
The reason to suggest this to be included in phpBB core and not as an extension is that BBCodes are used on every single forum as a way to post HTML. It's the "board's primary language", not something exclusive for technical or support forums like syntax highlighting for other programming languages.
Besides, it can be applied to many different use cases such as help tips (how to post...), post templates, posting rules, built-in BBCode help, etc.