This plugin easily integrates the Google Syntax Highlighter into your WordPress blog.
Demo:
- Java Script:
- CSS:
h1.post-title, .post h1 #Blog1 h1, #Blog2 h1 { font-size:1.5em; } .header {background:white; } .footer {font-weight:bold; }
Feature summary
- 100% client side, no server dependency
- Multiple languages support
- Wide browser support
- Very lightweight
Languages Supported and Language Code
- C++ (cpp, c, c++)
- C# (c#, c-sharp, csharp)
- CSS (css)
- Delphi (delphi, pascal)
- Java (java)
- Java Script (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)
How to install
- Download this plugin in: http://wordpress.org/extend/plugins/google-syntax-highlighter/
- Extract plugin into /wp-content/plugins directory.
- Activate the plugin.
- Specify your code snippets in your blog post using the Usage Directions provided by the Google Syntax highlighter.
How to use
To using this plugin to your blog post, put code into <pre> tag in HTML mode (Choose HTML tab when post new article):
Put your code here...
It’s very easy
. Wish you success!

Leave a Reply