Ryan McAdams
Active member
This is a must have for highlighting code lines...
I'm fairly sure this is by design but no doubt Mike will be along shortly to confirm.
You can use [code=rich] ... [/code] to enable formatting inside code tags.
Rich (BB code):public function isWorking() { return true; }
That's probably because it's unique to us, I think. Never really looked elsewhere though.Nice one Shadab.
In all the years I've been using code, code=php, etc. I never knew you could do that.
It prevents code that contains elements that resemble BB codes from accidentally executing, thereby breaking the code.
We use essential cookies to make this site work, and optional cookies to enhance your experience.