July 29, 2007
3:21 pm
SemGeshiCodeFix Plugin
SemGeshiCodeFix presents clear, highlighted code on your blog and even works in comments.
Installation
- Download SemGeshiCodeFix plugin.
- Unzip and extract to a local folder.
- Upload extracted folder to wp-content/plugins folder.
- Go to plugins tab in WordPress admin panel and activate the plugin.
To show line numbers, use following code:
$geshi->enable_line_numbers(GESHI_FANCY_LINE_NUMBERS, 5);
That is not in the plugin but you can put it in sem-code-fix.php after:
$geshi->set_header_type(GESHI_HEADER_DIV);
SemGeshiCodeFix, Plugin, WordPress Plugin, Geshi, Comments, Posts, Syntax Highlighter
Source:? Plugins Page
Loading

Leave a comment »