Topic: Addition to BBCODE

I think adding php bbcode tags (simalar to those found in vBulletin) is a good idea. For example:

[PHP]
<?php
echo "This is example code, no real functionility";
?>
[/PHP]

This is easy to implement because PHP comes with all needed functions (and pun bb is written in PHP). It just makes PHP code much easier to read and better looking. Obviously not a absolute critical feature but a useful one all the same.

Re: Addition to BBCODE

The thing I don't like about it is that it it isn't "consistent". If we have a special code tag for PHP, we should have one for a lot of other languages as well.

"Programming is like sex: one mistake and you have to support it for the rest of your life."

3 (edited by Frank H 2004-11-23 15:04)

Re: Addition to BBCODE

didn't someone make a code highlighter/formatter as a mod a while ago?

Re: Addition to BBCODE

http://punbb.org/forums/viewtopic.php?id=4243 - yes and it works for php among other languages wink