I recently posted about a Syntax Highlighter extensions 
(http://lists.radiantcms.org/pipermail/radiant/2007-May/004623.html). 
Now there is a Subversion repository for convenient access:

https://hytek.org/radiant/svn/extensions/syntax_highlighter/trunk/

It is a very simple port of Alexander Jentz's Code Behavior for Radiant 
0.5. It uses the CodeRay engine. Unfortunately, at the moment it only 
works if CodeRay is installed as a Gem and not as a plugin. If you 
figure out how to run it when CodeRay is installed as a plugin, please 
let me know.

The extension provides a single tag called <r:code> which should 
surround the code you want to highlight. Additionally, you probably want 
to generate yourself a CodeRay CSS file using the coderay_stylesheet 
script that comes with the CodeRay gem.

If you use the <r:code> tag inside a Textile part you may need to wrap 
it into a <notextile>...</notextile> tag to avoid escaping of the 
generated formatting strings.

Also I have been working on a Meta Tags extension (tags as in Web 2.0) 
for my modified version of Radiant. It is based on the 
acts_as_taggable_on_steroids plugin modified to not conflict with the 
Radius namespace. It currently does not work with stock Radiant, but it 
is only the initialization code and one view that need to be adjusted.

If anybody wants to port it to stock Radiant, I am happy to help with 
additional info. You can get it from:

https://hytek.org/shiny/svn/extensions/meta_tags/trunk/

Cheers,
Oliver
_______________________________________________
Radiant mailing list
Post:   [email protected]
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

Reply via email to