Skip to main content

Metro and JAXB users guide gets syntax coloring

Posted by kohsuke on November 2, 2007 at 10:32 AM PDT

Metro user guide (formerly known as JAX-WS user guide) and JAXB user guide is our effort to develop a comprehensive coding-level in-depth documentation about JAXB, JAX-WS, and Metro.

This document is generated from a set of "source" documents by using an HTML transformation engine called htmlmacro, which I talked about some time ago. One of the benefits of doing a transformation, is that we can do things that are too tedious to do manually. Htmlmacro uses Jelly behind the scene to make it really easy to perform all kinds of processing.

So to prove the point, I just made a custom tag out of jhighlight, and as a result our documentation is now fully syntax colorized. See this for an example.

Thanks Marek for telling me about jhighlight.

Related Topics >>