這個外掛並未在最新的 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

螢幕截圖

安裝

  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.

評價

There are no reviews for this plugin.

貢獻者及開發者

“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.