WordPress.org

Ready to get started?Download WordPress

Plugin Directory

!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.

SyntaxHighlighter2

Easily post source code such as PHP or HTML and display it in a styled box.

SyntaxHighlighter2 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):

  • AS3 -- as, as3
  • C++ -- cpp, c, c++
  • C# -- c#, c-sharp, csharp
  • ColdFusion - cf, coldfusion
  • CSS -- css
  • Delphi -- delphi, pascal
  • Diff/Patches -- diff
  • Erlang -- erlang
  • Groovy -- groovy
  • Java -- java
  • JavaFX -- javafx
  • JavaScript -- js, jscript, javascript
  • Perl -- perl
  • PHP -- php
  • Plain text -- plain
  • PowerShell -- powershell
  • Python -- py, python
  • Ruby -- rb, ruby, rails, ror
  • Scala -- scala
  • SQL -- sql
  • VB -- vb, vb.net
  • XML/HTML -- xml, html, xhtml, xslt

This plugin uses the SyntaxHighlighter JavaScript package by Alex Gorbatchev.

Requires: 2.0 or higher
Compatible up to: 3.0.0
Last Updated: 2010-5-30
Downloads: 6,263

Ratings

4 stars
4.1 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

100,1,1
0,1,0
100,1,1 50,2,1
100,1,1
100,1,1
100,1,1