描述
This plugin not only provides you syntax-highlighter , but also add a textarea and a button in the post page .
you just have to select the language , add code to the textarea and click the ‘OK’ button , and you will get
your code highlighted in your atricle.
这个插件不仅仅提供了代码高亮,还在编辑页面增加了一个代码框和一个按钮,你只要选择好你的代码语言,把代码贴入代码框,
再点击一下OK按钮,你的带高亮的代码就会被插入到文章里去。
Supported Languge:
Bash
C
C++
C#
CSS
Delphi
Diff
Erlang
Groovy
HTML
Java
Javascript
Perl
PHP
PowerShell
Python
Ruby
SQL
VisualBasic
VB.NET
XML
螢幕截圖
安裝
- Upload all files to your WordPress plugins directory, usually
wp-content/plugins/
. - Activate the plugin through the ‘Plugins’ menu in WordPress.
- Done.
常見問題
評價
貢獻者及開發者
修改日誌
2.5.0: Fix display problem in ‘Media’->’edit’
2.4.2: Add some editor support , thanks to huangzhiqun(http://huangzhiqun.com/).
2.4.1: Fix the bug , when you change the tagName , it doesn’t work.
2.4.0: Fix some bugs after update .
2.3.1:Adjust some syntax .
2.3.0:Roll back the SyntaxHighlighter core to version 2 , but preserve the AutoLoader.js to load .js file dynamically .
2.2.0:Update SyntaxHighlighter to version 3.0.83 && add option page .
2.1.0:Compress css and js files to make it faster .
2.0.3:Change the Core.css to make line auto-break , but still has some problem with firefox .
2.0.2:Fix a bug .
2.0.1:Add ‘Other’ type .
2.0:Improve the compatibility to the new version of wordpress .
1.1.0:Improve the compatibility to all editors.