suggestion for [code]

Reply

Join Date: Jul 2006
Posts: 608
Reputation: jrcagle is on a distinguished road 
Solved Threads: 150
jrcagle jrcagle is offline Offline
Practically a Master Poster

suggestion for [code]

 
0
  #1
Dec 24th, 2006
Hi,

I hope this is the right forum to post this. Anyways, I have greatly enjoyed and profited from the forum, so thanks to all who make it work.

I have one small quibble that would be lovely to address if it's possible. There are currently [code] and [php] tags that allow display of generic code and php code, respectively. It would be really wonderful if there were a [python] tag that would display Python code with an IDLE-like color scheme.

Thanks, and keep up the good work.
Jeff
Reply With Quote Quick reply to this message  
Join Date: Feb 2002
Posts: 12,041
Reputation: cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light 
Solved Threads: 128
Administrator
Staff Writer
cscgal's Avatar
cscgal cscgal is offline Offline
The Queen of DaniWeb

Re: suggestion for [code]

 
0
  #2
Dec 24th, 2006
You can do [code=python] [code=c] [code=cplusplus] [code=asp] and everything will be color coded.

It works for any language that is in www.daniweb.com/code/
Dani the Computer Science Gal
Follow my Twitter feed! twitter.com/daniweb
Reply With Quote Quick reply to this message  
Join Date: Jul 2006
Posts: 608
Reputation: jrcagle is on a distinguished road 
Solved Threads: 150
jrcagle jrcagle is offline Offline
Practically a Master Poster

Re: suggestion for [code]

 
0
  #3
Dec 24th, 2006
Talk about prompt service! :lol:

Thanks,
Jeff
Reply With Quote Quick reply to this message  
Join Date: Feb 2002
Posts: 12,041
Reputation: cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light 
Solved Threads: 128
Administrator
Staff Writer
cscgal's Avatar
cscgal cscgal is offline Offline
The Queen of DaniWeb

Re: suggestion for [code]

 
0
  #4
Dec 24th, 2006
Hehe ... it's been a feature here for quite awhile, actually
Dani the Computer Science Gal
Follow my Twitter feed! twitter.com/daniweb
Reply With Quote Quick reply to this message  
Join Date: Oct 2005
Posts: 1,283
Reputation: roryt will become famous soon enough roryt will become famous soon enough 
Solved Threads: 14
roryt's Avatar
roryt roryt is offline Offline
Nearly a Posting Virtuoso

Re: suggestion for [code]

 
0
  #5
Dec 31st, 2006
I have been looking for something like this for so long.

Now, I know there isn't really strict coloring for css but is there anyway we could have a code property for it?
PhotoShopthis
FlyingPen
If I have helped you please add to my reputation
Reply With Quote Quick reply to this message  
Join Date: Feb 2002
Posts: 12,041
Reputation: cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light 
Solved Threads: 128
Administrator
Staff Writer
cscgal's Avatar
cscgal cscgal is offline Offline
The Queen of DaniWeb

Re: suggestion for [code]

 
0
  #6
Dec 31st, 2006
I'm not sure what you mean. Just do [code=css]
Dani the Computer Science Gal
Follow my Twitter feed! twitter.com/daniweb
Reply With Quote Quick reply to this message  
Join Date: Apr 2006
Posts: 5,051
Reputation: John A is a splendid one to behold John A is a splendid one to behold John A is a splendid one to behold John A is a splendid one to behold John A is a splendid one to behold John A is a splendid one to behold John A is a splendid one to behold John A is a splendid one to behold 
Solved Threads: 332
Team Colleague
John A's Avatar
John A John A is offline Offline
Vampirical Lurker

Re: suggestion for [code]

 
0
  #7
Jan 1st, 2007
Originally Posted by cscgal
It works for any language that is in www.daniweb.com/code/
Originally Posted by roryt View Post
...css but is there anyway we could have a code property for it?
Originally Posted by cscgal View Post
I'm not sure what you mean. Just do [code=css]
But the odd thing is that css isn't listed in the code snippets library... that's probably why he requested it.
"Technological progress is like an axe in the hands of a pathological criminal."

All my posts may be freely redistributed under the terms of the MIT license.
Reply With Quote Quick reply to this message  
Join Date: Feb 2002
Posts: 12,041
Reputation: cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light 
Solved Threads: 128
Administrator
Staff Writer
cscgal's Avatar
cscgal cscgal is offline Offline
The Queen of DaniWeb

Re: suggestion for [code]

 
0
  #8
Jan 1st, 2007
Ah ... CSS support is available, it's just that no one has submitted any CSS code snippets yet.
Dani the Computer Science Gal
Follow my Twitter feed! twitter.com/daniweb
Reply With Quote Quick reply to this message  
Join Date: Mar 2006
Posts: 4,171
Reputation: happygeek is on a distinguished road 
Solved Threads: 13
Administrator
Staff Writer
happygeek's Avatar
happygeek happygeek is offline Offline
He's The Daddy

Re: suggestion for [code]

 
0
  #9
Jan 1st, 2007
Hint hint Rory
Davey Winder
Information Security Journalist of the Year
www.happygeek.com
Follow me on Twitter: @happygeek
Reply With Quote Quick reply to this message  
Join Date: Oct 2005
Posts: 1,283
Reputation: roryt will become famous soon enough roryt will become famous soon enough 
Solved Threads: 14
roryt's Avatar
roryt roryt is offline Offline
Nearly a Posting Virtuoso

Re: suggestion for [code]

 
0
  #10
Jan 1st, 2007
Originally Posted by joeprogrammer View Post
But the odd thing is that css isn't listed in the code snippets library... that's probably why he requested it.

That is why, because it isn't in the code library.

Originally Posted by happygeek View Post
Hint hint Rory
I posted a tutorial on styling text fields the other day. Sorry it wasn't a code snippet. I will try and think of one and post it
PhotoShopthis
FlyingPen
If I have helped you please add to my reputation
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC