Syntax Highlighter WordPress Plugin is a WordPress syntax highlighter plugin.
For Example, using this plugin some CSS code in your blog post would show like this:

p.margin
{
margin-top:100px;
margin-bottom:100px;
margin-right:50px;
margin-left:50px;
}


Syntax Highlighter WordPress Plugin is a simple plugin and offers full support for the following programming languages:

* Bash/shell
* C#
* C++
* CSS
* Delphi
* Diff
* Groovy
* JavaScript
* Java
* Perl
* PHP
* Plain Text
* Python
* Ruby
* Scala
* SQL
* Visual Basic
* XML

Installation

You can install this plugin by looking for “Syntax Highlighter and Code Colorizer for WordPress” By Vijesh Mehta from the Plugin section in your WordPress administration panel. The plugin website is here.

Usage

In the HTML view of your WordPress post, surround your code like this:

<pre class=”brush:”>
CSS code
</pre>

and replace the “” segment with the type of code you have, as for example using ‘CSS’:

<pre class=”brush:CSS”>
CSS code
</pre>

FacebookTwitterPinterestBlogger PostMySpaceDiggTechnorati FavoritesDeliciousShare
Tagged with: plugintutorialWebWordpress
 

1 Response » to “Syntax Highlighter WordPress Plugin”

    I have done all for my blog , but it won’t work for SQL
    Can anyone plese help me out ??

Leave a Reply