Syntax Highlighter Usage
From KallestadWiki
Contents |
[edit]
Standalone CGI Usage
As a standalone CGI, simply go to the appropriate URL on your server - i.e. if the package was installed in your cgi-bin directory, head on over to http://www.yoursite.com/cgi-bin/syntax.cgi
Once there, you will be presented with a form that should look strikingly similar to the following image:
[edit]
Movable Type Plugin Usage
The Movable Type Plugin provides the container tag <MTSKSyntax>.
The MTSKSyntax tag accepts the following parameters:
The lang parameter provides the language of the text that you are formatting. There are literally over 100 possibilities, but primarily, I imagine you will be interested in the following:
- html
- perl
- php
- c
- jscript
[edit]
Practical Usage Examples
It's always a good idea to show practical usage in action, so here are a few examples:
- example1
- example2
- example3
[edit]
