Textpattern CMS support forum
- Plugin Author
- Registered: 2006-06-14
- Posts: 7
ske_geshi - Syntax Highlighter with GeSHi
ske_geshi is a plugin for Textpattern which allows you to post some code snippets in a friendly and clear manner. The syntax will be highlighted using the fabolous Generic Syntax Highlighter GeSHi.
Installation and usage is pretty simple, all you need is the already mentioned GeSHi package and the plugin itself.
I wrote this plugin, because I wanted to use TXPs file-handling. You can either pass a file-id or filename to the plugin and it displays the code. More than that, you can pass a file which is not listed in TXPs built-in file handling. And for sure you can write your own code between the plugin-tags. When a file is shown, a download link to the file will be automatically shown below the code. You surely can switch this off by an attribute. Because of the lack of a “notextile”-tag, I recommend to use files, since Textil would mess up your code. The only way around this is to switch off Textile for the specific article or to hack the TXP-code.
Download, Installation, Usage and Examples:
A detailed description can be found at the plugins website!