So yeah, I made a syntax highlighting for BBCode, if ive missed something let me know and ill update it, also theres a minor problem with adding images...
you need to add a space before [/img]Example code: