Page 1 of 1

More bbcode code area options

Posted: Wed Oct 19, 2011 3:57 pm
by Chris
The only one I have found so far is php:

Code: Select all

[code=php]//php code goes here
[/code]

I'd like more, maybe one for JavaScript, as I've been writing a few Node.js tutorials and am going to post them soon. It would also be handy to have one specifically for command line commands.

And also I hate the way the code boxes are so small. Like in this post by shadow310:
http://indie-resource.com/forums/viewto ... =47&t=3905

The second box with the code he posted is way too small to be able to read anything. Can't you just get rid of the scrolling?

Re: More bbcode code area options

Posted: Wed Oct 19, 2011 6:36 pm
by hallsofvallhalla
sure I will look into this. Thanks for suggestion.

Re: More bbcode code area options

Posted: Wed Oct 19, 2011 8:22 pm
by Jackolantern
Oooo, while we are talking about this, I would love to see one for C# if these are extensions that can be added! There is a lot of XNA or various C# discussion around here, and I think it would make things nice and clear!

Re: More bbcode code area options

Posted: Wed Oct 19, 2011 9:46 pm
by Chris
It would also be cool if there could be line numbers next to the lines.

Re: More bbcode code area options

Posted: Wed Oct 19, 2011 9:58 pm
by Jackolantern
Chris wrote:It would also be cool if there could be line numbers next to the lines.
Actually, I would rather have that than any additional language syntax highlighting (if we could only get one, of course; I would still love C# syntax highlighting). It would make debugging code with error messages so much easier!

Re: More bbcode code area options

Posted: Wed Oct 19, 2011 9:59 pm
by hallsofvallhalla
looking for a phpbb mod that will do all this for us.

Re: More bbcode code area options

Posted: Fri Oct 28, 2011 12:35 am
by Chris
Any updates on this?

Re: More bbcode code area options

Posted: Sat Jan 07, 2012 5:52 pm
by Chris

Re: More bbcode code area options

Posted: Sun Jan 08, 2012 1:13 am
by hallsofvallhalla
I am so far behind on everything :(

I may need to give some admin access.

Re: More bbcode code area options

Posted: Sun Jan 08, 2012 4:19 pm
by Chris
I still have some spare time.. Generally like to visit the forums rather than go for a smoke when I'm working..