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

HyperCoder CodeBlock

描述

CodeBlock is a free WordPress plugin that enables visitors to copy programming code with a single click. It features:

  • A simple lightweight plugin in with no dependencies; the whole package consist of a PHP, a JavaScript and a CSS file (1.92KB)
  • Makes use of short-codes
  • Works with stylized code. That is, it only copies the code not the underlying HTML elements
  • Spam free. It will never bag (ehm, bug) you for ratings, permissions…etc.

螢幕截圖

  • Visitor interface

安裝

  1. Upload the plugin files to the /wp-content/plugins/plugin-name directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the ‘Plugins’ screen in WordPress
  3. To use the plugin place your code between [codeblock] or [cb] shortcodes.

常見問題

Is there any settings for the plugin?

The plugin has no settings.

Which programming languages does the plugin provide syntax highlighting for?

The plugin does not provide any syntax high-lighting. It simply creates ‘a code box’ with a copy button. You must provide your own syntax highlighted code.

評價

There are no reviews for this plugin.

貢獻者及開發者

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

貢獻者

將 HyperCoder CodeBlock 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

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

修改日誌

1.0

  • Initial release