splatnix Posted February 6, 2004 Share Posted February 6, 2004 I've noticed that the CODE tag here uses the same default font as the rest of forum posts. Is there a way, or have there been suggestions, to change the font used on CODE tags to Courier? Or even better, to green Courier? I don't know how much the CODE tag is used outside of the UNIX/Linux, Mac and Programming forums - probably very little in others - but this would be athesticly pleasing for posting actual code and helps make actual code stand out more. An example of what I'm talking about can be seen in this thread [forum.gentoo.org]. Link to comment Share on other sites More sharing options...
John Veteran Posted February 6, 2004 Veteran Share Posted February 6, 2004 on a side note, will IPB 2.0 include code coloring? can it be added in if not? it shouldn't be too hard, just store a group of keywords for each language and tell it what signifies a comment... Link to comment Share on other sites More sharing options...
Joel Posted February 6, 2004 Share Posted February 6, 2004 Just wait for IPB 2.0 Redmak already said no big mods until after the upgrade. Link to comment Share on other sites More sharing options...
.... Posted February 7, 2004 Share Posted February 7, 2004 Yeah. Just little mods like silly and I. Link to comment Share on other sites More sharing options...
john smith 1924 Veteran Posted February 7, 2004 Veteran Share Posted February 7, 2004 <?PHP echo"test"; $var = "0"; if ($codelookscolour =="1") { echo"wow ivb is great"} else { echo":( aw ivb sucks"; } ?> see - you can get the nice colours :) Link to comment Share on other sites More sharing options...
John Veteran Posted February 7, 2004 Veteran Share Posted February 7, 2004 <?PHP echo"test"; $var = "0"; if ($codelookscolour =="1") { echo"wow ivb is great"} else { echo":( aw ivb sucks"; } ?> see - you can get the nice colours :) sure, for php :p hardly usefull for c/c++, vb, java, c# etc... Link to comment Share on other sites More sharing options...
Wannes Posted February 7, 2004 Share Posted February 7, 2004 IPB 2.0 will possibly not have code coloring. It does have a border that shows what type of box it is. Code or Quote if that is what you are talking about. [see screenie] If you want to see the code in coloring you can always open Dreamweaver and use copy paste. :) -Couch Potato? Link to comment Share on other sites More sharing options...
snippet1 Posted February 7, 2004 Share Posted February 7, 2004 It would be too hard to have cod highlighting/colouring for all languages - probably just HTML/PHP. Link to comment Share on other sites More sharing options...
Wannes Posted February 7, 2004 Share Posted February 7, 2004 Indeed, but PHP is not highlited in the default settings from IPB. There is a mod for it though. :) -Couch Potato? Link to comment Share on other sites More sharing options...
Recommended Posts