The Ultimate Syntax Highlighter

By the plugin author

0+ active installationsVersion 1.2.9

A very simple and easy to use plugin for syntax highlighting code using a short-tag

Description

This plugin allows for easy addition of highlighted code with the [code lang=””] tag supporting over 10 languages

Feature summary

  • 100% client side, no server dependency
  • Multiple languages support
  • Wide browser support
  • Very lightweight
  • Easily added with the shortcode [code lang=”language”][/code]

Languages Supported

  • 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)

Installation

  1. Extract plugin into /wp-content/plugins directory.
  2. Activate the plugin.
  3. Specify your code snippets in your blog post using the shortcode [code lang=”Language”][/code]

Here is an example to produce ruby syntax highlighting once the plugin is activated:

[code lang="ruby"] def my_ruby_snippet   blog_post.should(be_highlighted) end [/code] 

Screenshots