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.

評價

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.