From: Simon Strandgaard Date: 2004-02-26T21:24:49+09:00 Subject: Re: ruby2html -was RE: Congrats to Matz...working 11 years on Ruby an d counting! On Thu, 26 Feb 2004 15:12:11 +0900, Pe�a, Botp wrote: > Simon Strandgaard [mailto:neoneye@adslhome.dk] said: > >> > Mentioning regexp.... >> > I have just played around with my own ruby2html thing.. >> > the output is here.. check it out. >> > >> > http://neoneye.dk/syntax.html >> > >> > heredoc renders nice in mozilla ;-) >> >> Now it converts from Ruby into xhtml 1.0 strict. >> >> Any thoughts about its output? > > simple yet kewl. > > 1. can you extend gray background of comments page wide? Don't know how to do it. I have played around with the display property, but it seems to be rather difficult. span.comment { display: block; /*padding-right: %100;*/ background-color: rgb(180, 180, 180); } I couldn't solve it. Suggestions is appreciated (need help). > 2. tabs too long (for me). Can you align defs with the class name and codes > under def names? > Will require some conceptual changes, because x-position of each letter has to be resolved. I realized this when I were almost done. It is possible and not difficult, just requires rethinking. > 2. I'd like coloring that easily distinguishes and separate classes. > > Can you do this: for each class boundary (say fr Class... to ..end), the > color alternates fr white to green. I will have to poke around a little with this.. I think it should be relatively easy to add. I have added your suggestions on my ever growing TODO list ;-) -- Simon Strandgaard