Code syntax highlighting behaviour

Hello All,

Maybe handy for other people as well…

I tried looking for a plugin / behavior which would syntax highlight
ruby code, but could not find it (if it’s there please show me
where), so I decided to create it myself.

It’s done somewhat similar as on the Radiant Trac website & as seen
on the 2005 ruby-lang website redesign.

More information can be found here: http://www.degrunt.net/

Hope it’s useful …

Regards,
Tom.

I took the liberty to add a reference to your behavior to the third
party radiant behavior page:
http://dev.radiantcms.org:9007/radiant/wiki/ThirdPartyBehaviors
–M

Tom de Grunt wrote:

Hope it’s useful …

Very cool Tom. I may include this (or something like it) in a future
version of Radiant. Thanks for sharing.


John L.
http://wiseheartdesign.com

On 27/07/2006, at 8:45 PM, Tom de Grunt wrote:

Hello All,

Maybe handy for other people as well…

I tried looking for a plugin / behavior which would syntax highlight
ruby code, but could not find it (if it’s there please show me
where), so I decided to create it myself.

That looks quite cool! Have you thought of making it a normal plugin so
we could use the tag on any page?

Bodhi

Bodhi,

It’s a plugin which extends Behaviour::Base, which means that the tag
is available on any page (at least that’s what I understood).

Tom

On 28/07/2006, at 5:32 PM, Tom de Grunt wrote:

Bodhi,

It’s a plugin which extends Behaviour::Base, which means that the tag
is available on any page (at least that’s what I understood).

Ah, sorry! That’s what i get for not installing it! Anyway, sounds
cool, I hope I get a chance/excuse to play with it soon…

Bodhi

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs