Este plugin não foi testado com as 3 últimas grandes versões do WordPress. Pode já não ser suportado e pode ter problemas de compatibilidade quando usado com versões mais recentes do WordPress.

Syntax Highlighter for WordPress

Descrição

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.

Instalação

  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)

Avaliações

Este plugin não tem avaliações.

Contribuidores e programadores

“Syntax Highlighter for WordPress” é software de código aberto. As seguintes pessoas contribuíram para este plugin:

Contribuidores

Registo de alterações

3.0.83 – October 20, 2010

2.1.364 – February 18, 2010
Initial release.