This website has the GeShi filter installed, so code can be escaped and formated with syntax highlighting. To have your code highlighted you must enclose it in "<code> </code>" tags. Just using these tags escapes the code and formats it as plain text.
To add syntax highlighting, set the "type" inside the tag like this, "<code type="bash">.
Supported languages are:
| Language Name | syntax "Type" |
|---|---|
| Bash | bash |
| C | c |
| C++ | cpp |
| CSS | css |
| Drupal 5 | drupal5 |
| Drupal 6 | drupal6 |
| HTML | html4strict |
| Java | java |
| Javascript | javascript |
| Perl | perl |
| PHP | php |
| Python | python |
| Rails | rails |
| Ruby | ruby |
| Scala | scala |
| SQL | sql |
| Xorg configuration | xorg_conf |
EXAMPLE: So if I wanted to highlight a bash one liner like, 'echo "Hello NOVALUG!"', I would encapsulate it like so <code type="bash">echo "Hello NOVALUG!" </code> which would result in the following highlighting:
echo "Hello NOVALUG!"