=== Highlight plugin ===

This plugin uses highlight (http://www.andre-simon.de) to add syntax highlighting to WordPress.

== Description ==

The highlight utility converts source code of 120 programming languages to HTML 
with syntax highlighting. This plugin pipes the content of <pre>-Tags associated
with a lng parameter to highlight, and returns the output code which is included
in the WordPress blog entry.

Usage:

Paste the following in the code section of the blog editing form:

<pre lang="c">#include <stdio.h>

int main (void){
  printf("This is some random code");
  return 0;
}</pre>

Use the lang parameter to define the programming language (c, php, py, xml, etc).
See the highlight documentation to learn all possible languages.
See the highlight.php file for some formatting options (line numbering, code
indentation, line wrapping etc).

== Installation ==

1. Install highlight (www.andre-simon.de) on your host
2. Unzip the wp_highlight.zip file and upload the content to the 
   `/wp-content/plugins/` directory
3. Add the CSS definitions below to the WordPress theme (using the theme editor)
4. Activate the plugin

== CSS definitions ==

Paste the following to the WordPress theme definitions:

pre.hl  { color:#000000; background-color:#ffffff; font-size:10pt; font-family:Courier New;}
.hl.num { color:#2928ff; }
.hl.esc { color:#ff00ff; }
.hl.str { color:#ff0000; }
.hl.dstr        { color:#818100; }
.hl.slc { color:#838183; font-style:italic; }
.hl.com { color:#838183; font-style:italic; }
.hl.dir { color:#008200; }
.hl.sym { color:#000000; }
.hl.line        { color:#555555; }
.hl.kwa { color:#000000; font-weight:bold; }
.hl.kwb { color:#830000; }
.hl.kwc { color:#000000; font-weight:bold; }
.hl.kwd { color:#010181; }

Change the style to suite your taste, or use the highlight tool to try one of
the included colour themes.


`<?php code(); // goes in backticks ?>`
