MyBB Community Forums

Full Version: Replace the [code] tag
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
How can I add a new [code] tag? (not a [code] tag, but an [asm] tag)

I just need to know:
What should I put in the Regular Expression field?

forum URL: http://sonickers.co.cc/forums/
version: 1.6.4
asm --> does it stand for assembler code AND do you want color coding (syntax highlighting) for the content !?

Edit : see Syntax Highlighter (beta) { it is for older version of myBB }
yes, but I'll use SHJS (http://shjs.sourceforge.net/) for syntax highlighting...
I just need to know how the [code] tag work
see also this external link : Cool Codes (Syntax Highlighter)

CODE tag is pre-defined in the system. see MyCodes section for customized MyCodes ..
so... how to change the [code] tag in the system?
Trash this, please