# Installing code\_highlighter

**URL:** <https://www.ruby-forum.com/t/installing-code-highlighter/118435>\
**Category:** Radiant CMS\
**Created:** [October 26, 2007, 10:02pm UTC](https://www.ruby-forum.com/t/installing-code-highlighter/118435 "2007-10-26T22:02:09Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![usrlocal](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/u/aeb1de/32.png) [@usrlocal](https://www.ruby-forum.com/u/usrlocal)\
**Post date:** [October 26, 2007, 10:02pm UTC](https://www.ruby-forum.com/t/installing-code-highlighter/118435/1 "2007-10-26T22:02:09Z")

</div>

I’ve just started using Radiant and really like both  
the approach and how it was implemented. It’s perfect  
for the site I need to build.

I’d like to apply code syntax highlighting to my  
pages. I read about it here:

[http://radiantcms.org/blog/archives/2006/09/28/how-to-anatomy-of-the-code-highlighter-plugin/](http://radiantcms.org/blog/archives/2006/09/28/how-to-anatomy-of-the-code-highlighter-plugin/)

I’ve run into two problems:

(1) Radiant 0.6.3 lacks the “script/plugin” script for  
new projects. I can copy it from my radiant gem  
installation into my project scripts directory.

(2) The code\_highlighter plugin no longer exists at  
the given url:

$ ruby script/plugin install code\_highlighter  
Plugin not found: [“code\_highlighter”]

Yet I can see the plugin on the Trac svn browser:

[http://dev.radiantcms.com/radiant/browser/trunk/plugins/code\_highlighter?rev=317](http://dev.radiantcms.com/radiant/browser/trunk/plugins/code_highlighter?rev=317)

Any ideas?

Thanks,  
Rich

* * *

Richard L. Apodaca

[http://depth-first.com](http://depth-first.com) Blog  
[http://metamolecular.com](http://metamolecular.com) Company

---

<div class="post-metadata">

**Author:** ![usrlocal](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/u/aeb1de/32.png) [@usrlocal](https://www.ruby-forum.com/u/usrlocal)\
**Post date:** [October 26, 2007, 10:39pm UTC](https://www.ruby-forum.com/t/installing-code-highlighter/118435/2 "2007-10-26T22:39:36Z")

</div>

Richard,

There are some existing code-highlighting extensions out there. Lately  
I’ve used Dan W.'s JS library for this purpose. It’s not as robust as  
some, but it’s lightweight and doesn’t require any changes to the CMS.

Sean
