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

Alkane Code

外掛說明

Alkane Code is a user-friendly, lightweight code editor for TinyMCE that adds ‘language-‘ classes to HTML code elements. It can be used to add inline code as well as block code, and syntax highlighting at the front-end is performed using Prism.js with auto-loaded languages. It does not support the Gutenberg editor. You will need to install the ‘Classic Editor’ plugin to use this code editor.

More Information

Alkane Code homepage

螢幕擷圖

  • Alkane Code button in TinyMCE.
  • Alkane Code code editor in TinyMCE.
  • Prism.js syntax highlighting.
  • Alkane Code settings page.

安裝方式

  1. Upload “alkanecode” to the “/wp-content/plugins/” directory.
  2. Activate the plugin through the “Plugins” menu in WordPress.
  3. Configure from Settings > Alkane Code Settings.

使用者評論

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

參與者及開發者

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

參與者

將〈Alkane Code〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

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

變更記錄

1.0.0

  • Initial release.

1.0.1

  • Updated readme.txt.

1.0.2

  • Updated description of plugin.

1.0.3

  • Updated description of plugin.

1.0.4

  • Added prism .map files. Renamed settings menu entry.

1.0.5

  • Added tab support in editor plus various bug fixes.

1.0.6

  • Set block level code to default as opposed to inline.

1.0.7

  • Disabled on mobile devices, since it slows page load down for larger scripts.

1.0.8

  • Re-enabled on mobile devices, but forcefully renders as ‘markup’ language for faster loading.

1.0.9

  • Bug fixes for when theme and languages selections are initially undefined.