From: akbarhome Date: 2007-05-07T18:05:23+09:00 Subject: Re: HTML formated Ruby code On May 7, 3:58 pm, "Felipe Contreras" wrote: > Hi, > > Does anyone knows how all that beautiful HTML formated Ruby code on > ruby-lang.org is generated? > > Like this: > >
> >
# Output "I love Ruby"
>
say = "I love > Ruby"
>
puts say
>
 
>
# Output "I *LOVE* RUBY"
> >
say[ class="string">'love'] = class="string">"*love*"
>
puts say.upcase
>
 
>
# Output "I *love* Ruby"
> >
# five times
>
5.times > { puts say }
> >
> > -- > Felipe Contreras My guess is they make it manually. If not, it is a part of RadiantCMS project that they use it.