This plugin hasn’t been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Syntax Highlighter for WordPress

Description

This plugin easily integrates the SyntaxHighlighter by Alex Gorbatchev into WordPress.
Supports AS3, Bash, C, C++, C#, ColdFusion, CSS, Delphi, diff, Erlang, Groovy, Java, JavaScript, JavaFX, Perl, PHP, Plain Text, Python, PowerShell, Ruby, Scala, SQL, VB, VB.NET, XML, and (X)HTML.
Feature summary

  • 100% client side, no server dependency
  • Multiple languages support
  • Wide browser support
  • Very lightweight

Localization

  • Japanese (ja) – OKAMOTO Wataru (plugin author)
  • Dutch (nl_NL) – Rene
  • German (de_DE) – Rian Klijn
  • Simplified Chinese (zh-CN) – heartnn
  • Turkish (tr_TR) – Hakan Demiray
  • Iran (fa_IR) – mostafa soufi

If you have translated into your language, please let me know.

Installation

  1. Upload the entire syntax-highlighter folder to the /wp-content/plugins/ directory.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.

Plugin Usage

Just wrap your code in [language], such as [php]code here[/php] or [css]code here[/css].
For a list of supported languages (all widely used languages are supported).

Languages Supported

  • ActionScript3 (as3)
  • Bash/shell (bash, shell)
  • C, C++ (cpp, c, c++)
  • C# (csharp)
  • ColdFusion (coldfusion)
  • CSS (css)
  • Delphi (delphi, pascal)
  • diff, patch (diff, patch)
  • Erlang (erlang)
  • Groovy (groovy)
  • Java (java)
  • Java Script (javascript)
  • JavaFX (javafx)
  • Perl (perl)
  • PHP (php)
  • Plain Text (plain, text)
  • PowerShell (powershell)
  • Python (python)
  • Ruby (ruby)
  • Scala (Scala)
  • SQL (sql)
  • Visual Basic (vb, vbnet)
  • XML/HTML (xml, html, xhtml, xslt)

Contributors & Developers

“Syntax Highlighter for WordPress” is open source software. The following people have contributed to this plugin.

Contributors

Changelog

3.0.83 – October 20, 2010

2.1.364 – February 18, 2010
Initial release.