描述
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.
安裝
- Upload the entire
syntax-highlighter
folder to the/wp-content/plugins/
directory. - Activate the plugin through the ‘Plugins’ menu in WordPress.
Plugin Usage
Just wrap your code in [language]
, such as
code here
or
code here
.
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)
評價
There are no reviews for this plugin.
貢獻者及開發者
修改日誌
3.0.83 – October 20, 2010
2.1.364 – February 18, 2010
Initial release.