SyntaxHighlighter
SyntaxHighlighter allows you to easily post syntax highlighted code all without loosing it’s formatting or making an manual changes.
It supports the following languages (the alias for use in the post is listed next to the name):
* C++ — cpp, c, c++
* C# — c#, c-sharp, csharp
* CSS — css
* Delphi — delphi, pascal
* Java — java
* JavaScript — js, jscript, javascript
* PHP — php
* Python — py, python
* Ruby — rb, ruby, rails, ror
* SQL — sql
* VB — vb, vb.net
* XML/HTML — xml, html, xhtml, xslt
[sourcecode language='css']
1. #button {
2. font-weight: bold;
3. border: 2px solid #fff;
4. }
[/sourcecode]
http://wordpress.org/extend/plugins/syntaxhighlighter/
Plugin Usage
[sourcecode language=css]code here ./sourcecode] add “css”
One Response to “SyntaxHighlighter”
Leave a Reply
You must be logged in to post a comment.