RapidWeaver High-Light Plugin

High-Light is a RapidWeaver plugin aimed at the user who wants to include sourcecode on his webpages. This plugin extends the available formatting options for Styled Text areas in RapidWeaver.

High-Light works as a frontend for the GNU source-highlight command line application that is written by Lorenzo Bettini. This application is bundled within the High-Light plugin so you only have to download and install the plugin (it is currently using source-highlight v2.8). If you have your own version of source-highlight that you want to use instead you can configure the plugin to use your binary instead of the bundled one. The plugin has been tested with v1.11, v2.5 & v2.8 of source-highlight but you can probably use any version.

Features

  • Works in any Styled Text area inside RapidWeaver.
  • Generates properly syntax colored, or CSS tagged, XHTML output
  • Preserves the intendation of the marked text is so that the output is generated as close to the original text as possible.
  • If the sourcecode has tabs they will be replaced by a configurable number of   spaces (see previous item)
  • Can generate linenumbers for the marked text.
  • Linenumbers can be padded with spaces (default) or zeros, if source-highlight >= v2.8 is used.

The user manual is available on Google Docs. If you would like to contribute you need to have a Gmail account . Send a mail to the mailinglist below and ask for editor rights and you can be given rights to edit the manual.

If you are missing a feature that you feel could improve High-Light go ahead and add it on the feature request page. If it sounds good and useful then it might get implemented.

Downloading the source

Browse the source via SVN

Browse the source via Trac

For more information on downloading the source, take a look at Getting The Code.

Downloading the latest build

Download: Latest build
System Requirements: Mac OS X 10.3.9 or greater
RapidWeaver Requirements: 3.2.1 or greater (including RW 4)

Support

We have two mailing lists for High-Light:

Feel free to post any questions you have about High-Light to those lists.

Development