> Out of curiosity, does anyone know how easy or difficult it > would be to process Ruby code samples into some form that > would make it possible to produce documentation web pages > showing Ruby code samples in one of several predefined syntax > coloring/font schemes that would be available for users > to select from? I just happened to notice this at RAA: http://www.ruby-lang.org/en/raa-list.rhtml?name=source2html Producing output like http://w3.one.net/~jweirich/tools/source2html/testcode2html_rb.html Maybe it could be used as a starting point for full-blown suite of tools for different uses (HTML, XML, LaTeX comes into mind first). Now, if only we'd a parser producing a XML output of the source it shouldn't be too hard to develop whatever tool needed. - Aleksi