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

Simple Fast Highlighter

外掛說明

There are other good syntax highlighter plugins, but I wanted something simple and fast and
be able to add the highlight classes with a select box in the TinyMCE editor.

I added some default languages: Javascript, PHP, Python, C, C#, VB.NET, SQL and CSS but you can
easily add other ones.

常見問題集

Installation Instructions
  1. Upload the plugin to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress

See also http://michielvaneerd.github.io/simplefasthighlighter/

Usage

  1. Select the code inside a PRE tag.
  2. Select the Code item in the select box, this will surround the selected area with a CODE tag.
  3. Then select the language, like Javascript or PHP.

Look for an example at my blog: http://blog.michielvaneerd.nl and http://michielvaneerd.github.io/simplefasthighlighter/

使用者評論

這個外掛目前沒有任何使用者評論。

參與者及開發者

以下人員參與了開源軟體〈Simple Fast Highlighter〉的開發相關工作。

參與者

將〈Simple Fast Highlighter〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

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

變更記錄

1.0.5

  • Tested with WordPress 4.7.3

1.0.4

  • Added custom handling to Language objects, for example to highlight Javascript regular expressions

1.0.3

  • Added some es6 features to Javascript language object

1.0.2

  • Removed some default styles like font and padding

1.0.1

  • Added a code button
  • Now you can also add the language classes directly to PRE tags

0.9.3

  • Added Java also to the editor select box

0.9.2

  • Updated version also in main PHP file

0.9.1

  • Updated the tested up to

0.9

  • Added Java language.
  • Tested up to 3.9.1

0.8.3

  • Fixed filenames in plugin file.

0.8.2

  • Renamed files to match plugin name.

0.8.1

  • Add more info to README file.
  • Added a index.html file as an example.
  • Removed HTML from languages: at this point it is a code highlighter and no markup highlighter.

0.8

  • Plugin published.