该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的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.