這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

Syntax Highlighter++

描述

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

螢幕截圖

  • Your code will be similar to this in you article.
  • The textarea and button in your post page .
  • Settings .

安裝

  1. Upload all files to your WordPress plugins directory, usually wp-content/plugins/ .
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.
  3. Done.

常見問題

Leave your FAQ

評價

2017年10月2日
Albeit plugin has not been updated for 3 years, with newest version still everything works as expected.
閱讀全部1個評價

貢獻者及開發者

“Syntax Highlighter++” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

將 Syntax Highlighter++ 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

修改日誌

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.