Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes Ranch Office and the fly likes [ code ] tag vs [ java ] tag Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » This Site » Ranch Office
Bookmark "[ code ] tag vs [ java ] tag" Watch "[ code ] tag vs [ java ] tag" New topic
Author

[ code ] tag vs [ java ] tag

Adam Price
Ranch Hand

Joined: Nov 11, 2005
Posts: 95
Over on the artima bb, they use a (java) tag instead of (code). That gets them the same indentation as our (code) tag, but it also gets syntax coloring. It otherwise seems to be similar ubb markup.
Any chance of importing ?Syntax Coloring

-Adam
Marilyn de Queiroz
Sheriff

Joined: Jul 22, 2000
Posts: 9052
    
  12
I think that is not an option with this software.


JavaBeginnersFaq
"Yesterday is history, tomorrow is a mystery, and today is a gift; that's why they call it the present." Eleanor Roosevelt
Adam Price
Ranch Hand

Joined: Nov 11, 2005
Posts: 95
Originally posted by Marilyn de Queiroz:
I think that is not an option with this software.


Bummer. It looks really nice, easy to read, etc. I noticed that the sun java forums use it also.
Michael Ernest
High Plains Drifter
Sheriff

Joined: Oct 25, 2000
Posts: 7292

A definite should-add to the feature list, I agree.


Make visible what, without you, might perhaps never have been seen.
- Robert Bresson
Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15299
    
    6

I believe we were able to make this feature work on our server where we had some newer software running based on MVNForum. We didn't specify the language, but using the CODE tag did syntax highlighting for Java. In retrospect it would have been better to use a JAVA tag or something like CODE id="java" because we do wrap XML and HTML in code tags as well around here. I think the forums at PHPBuilder.com use a PHP tag for the same thing. It does make things easier to read.


GenRocket - Experts at Building Test Data
 
 
subject: [ code ] tag vs [ java ] tag