[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

what syntax coloring does ruby-lang.org use?

Giles Bowkett

11/25/2007 5:22:00 PM

this IRB syntax coloring is so much cooler than my IRB syntax coloring:

http://www.ruby-lang.org/en/documentation/q...

Does anyone know if it's real, or just a CSS thing?

--
Giles Bowkett

Podcast: http://hollywoodgrit.bl...
Blog: http://gilesbowkett.bl...
Portfolio: http://www.gilesg...
Tumblelog: http://giles....

4 Answers

Robert Dober

11/25/2007 5:57:00 PM

0

On Nov 25, 2007 6:22 PM, Giles Bowkett <gilesb@gmail.com> wrote:
> this IRB syntax coloring is so much cooler than my IRB syntax coloring:
>
> http://www.ruby-lang.org/en/documentation/q...
>
> Does anyone know if it's real, or just a CSS thing?
A quick look at the code indicates that they use the syntax gem, I am
using the same on my blog.
Now I might be completely wrong it is not unlikely that different
syntax high lighters use the same CSS class names to express the same
syntax information. OTOH I would guess it is a ruby syntax highlighter
after all ;)

Cheers
Robert
>
> --
> Giles Bowkett
>
> Podcast: http://hollywoodgrit.bl...
> Blog: http://gilesbowkett.bl...
> Portfolio: http://www.gilesg...
> Tumblelog: http://giles....
>
>



--
what do I think about Ruby?
http://ruby-smalltalk.blo...

Nathan Grant

11/25/2007 6:39:00 PM

0

I always thought it was the Ruby Blue theme from Wiseheart Design. [
http://wiseheartdesign.com/2006/3/11/ruby-blue-textm... ]

The site links to the original Vim theme, plus Textmate and Notepad++
versions. I've also used it in E - TextEditor on Windows.

Cheers,

Nathan

Giles Bowkett

11/27/2007 1:19:00 AM

0

> A quick look at the code indicates that they use the syntax gem, I am
> using the same on my blog.
> Now I might be completely wrong it is not unlikely that different
> syntax high lighters use the same CSS class names to express the same
> syntax information. OTOH I would guess it is a ruby syntax highlighter
> after all ;)

That's excellent news. I'm looking to use it in IRB, not on the Web,
but if it can be used that's fantastic. This gem (on first glance) has
much deeper syntax coloring than the syntax coloring I currently use
in IRB (Wirble's).

--
Giles Bowkett

Podcast: http://hollywoodgrit.bl...
Blog: http://gilesbowkett.bl...
Portfolio: http://www.gilesg...
Tumblelog: http://giles....

Giles Bowkett

11/27/2007 2:15:00 AM

0

On 11/25/07, Nathan Grant <grant.nathan@gmail.com> wrote:
> I always thought it was the Ruby Blue theme from Wiseheart Design. [
> http://wiseheartdesign.com/2006/3/11/ruby-blue-textm... ]
>
> The site links to the original Vim theme, plus Textmate and Notepad++
> versions. I've also used it in E - TextEditor on Windows.

Gracias! Although:

> Today I decided to spend a little time on a theme for Textmate
> that mirrored the Ruby Lang design in the same way that my Vim theme did.

Looks like a chicken/egg question.

--
Giles Bowkett

Podcast: http://hollywoodgrit.bl...
Blog: http://gilesbowkett.bl...
Portfolio: http://www.gilesg...
Tumblelog: http://giles....