More bbcode code area options

Indie-Resource announcements, news and any site discussion.
Post Reply
User avatar
Chris
Posts: 1581
Joined: Wed Sep 30, 2009 7:22 pm

More bbcode code area options

Post 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?
Fighting for peace is declaring war on war. If you want peace be peaceful.
User avatar
hallsofvallhalla
Site Admin
Posts: 12026
Joined: Wed Apr 22, 2009 11:29 pm

Re: More bbcode code area options

Post by hallsofvallhalla »

sure I will look into this. Thanks for suggestion.
User avatar
Jackolantern
Posts: 10891
Joined: Wed Jul 01, 2009 11:00 pm

Re: More bbcode code area options

Post 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!
The indelible lord of tl;dr
User avatar
Chris
Posts: 1581
Joined: Wed Sep 30, 2009 7:22 pm

Re: More bbcode code area options

Post by Chris »

It would also be cool if there could be line numbers next to the lines.
Fighting for peace is declaring war on war. If you want peace be peaceful.
User avatar
Jackolantern
Posts: 10891
Joined: Wed Jul 01, 2009 11:00 pm

Re: More bbcode code area options

Post 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!
The indelible lord of tl;dr
User avatar
hallsofvallhalla
Site Admin
Posts: 12026
Joined: Wed Apr 22, 2009 11:29 pm

Re: More bbcode code area options

Post by hallsofvallhalla »

looking for a phpbb mod that will do all this for us.
User avatar
Chris
Posts: 1581
Joined: Wed Sep 30, 2009 7:22 pm

Re: More bbcode code area options

Post by Chris »

Any updates on this?
Fighting for peace is declaring war on war. If you want peace be peaceful.
User avatar
Chris
Posts: 1581
Joined: Wed Sep 30, 2009 7:22 pm

Re: More bbcode code area options

Post by Chris »

Fighting for peace is declaring war on war. If you want peace be peaceful.
User avatar
hallsofvallhalla
Site Admin
Posts: 12026
Joined: Wed Apr 22, 2009 11:29 pm

Re: More bbcode code area options

Post by hallsofvallhalla »

I am so far behind on everything :(

I may need to give some admin access.
User avatar
Chris
Posts: 1581
Joined: Wed Sep 30, 2009 7:22 pm

Re: More bbcode code area options

Post by Chris »

I still have some spare time.. Generally like to visit the forums rather than go for a smoke when I'm working..
Fighting for peace is declaring war on war. If you want peace be peaceful.
Post Reply

Return to “Announcements and Site Discussion”