[Rails] ROR code syntax highlighting on blog?
softwareengineer 99
softwareengineer99 at yahoo.com
Fri Mar 3 23:04:13 GMT 2006
I have the version 2.6.0 but when I tried the following all I get is the code without the syntax highlightling
<typo:code lang="ruby">
def helloworld
"Hello World"
end
</typo:code>
Which version has this functionality? I thought 2.6.0 was the latest before the typo.leesoft.com started showing a migration message?
Thanks for your assistance.
Frank
Eric Goodwin <ruby at ericgoodwin.com> wrote: Hi,
The latest version of Typo has built in Ruby Syntax highlighting.
Just surround your code with:
def helloworld
"Hello World"
end
Eric
softwareengineer 99 wrote:
> I am interested in putting the cool syntax highlighting for ROR code.
> What's the best way to do that? Is it using textilize or another
> formatting language? Or do I need special stylesheets?
>
> Any assistance is appreciated.
>
> Thanks
> Frank
>
> ------------------------------------------------------------------------
> Yahoo! Mail
> Use Photomail
>
> to share photos without annoying attachments.
> ------------------------------------------------------------------------
>
> _______________________________________________
> Rails mailing list
> Rails at lists.rubyonrails.org
> http://lists.rubyonrails.org/mailman/listinfo/rails
>
--
Eric Goodwin
http://www.ericgoodwin.com
_______________________________________________
Rails mailing list
Rails at lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails
Rails Blog: http://railsruby.blogspot.com
MySQL Blog: http://mysqldatabaseadministration.blogspot.com
Linux / Security Blog: http://frankmash.blogspot.com
---------------------------------
Yahoo! Mail
Bring photos to life! New PhotoMail makes sharing a breeze.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060303/ec2bf5c5/attachment.html
More information about the Rails
mailing list