File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

[ 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

Marilyn de Queiroz

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

"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

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: 15302

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 use a PHP tag for the same thing. It does make things easier to read.

GenRocket - Experts at Building Test Data
I agree. Here's the link:
subject: [ code ] tag vs [ java ] tag
It's not a secret anymore!