Title: Alkane Code
Author: alkanesolutions
Published: <strong>2019 年 7 月 13 日</strong>
Last modified: 2022 年 8 月 24 日

---

搜索插件

![](https://ps.w.org/alkanecode/assets/banner-772x250.png?rev=2122459)

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

![](https://ps.w.org/alkanecode/assets/icon-256x256.png?rev=2122462)

# Alkane Code

 作者：[alkanesolutions](https://profiles.wordpress.org/alkanesolutions/)

[下载](https://downloads.wordpress.org/plugin/alkanecode.1.0.9.zip)

 * [详情](https://cn.wordpress.org/plugins/alkanecode/#description)
 * [评价](https://cn.wordpress.org/plugins/alkanecode/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/alkanecode/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/alkanecode/#developers)

 [支持](https://wordpress.org/support/plugin/alkanecode/)

## 描述

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](https://www.alkanesolutions.co.uk/blog/2019/07/06/alkane-code-tinymce-code-editor-prism-syntax-highlighting/)

## 屏幕截图

 * [[
 * 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」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ alkanesolutions ](https://profiles.wordpress.org/alkanesolutions/)

[帮助将「Alkane Code」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/alkanecode)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/alkanecode/)，查看[SVN仓库](https://plugins.svn.wordpress.org/alkanecode/)，
或通过[RSS](https://plugins.trac.wordpress.org/log/alkanecode/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/alkanecode/)。

## 更新日志

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

## 额外信息

 *  版本 **1.0.9**
 *  最后更新：**4 年前**
 *  活跃安装数量 **10+**
 *  WordPress 版本 ** 3.9 或更高版本 **
 *  已测试的最高版本为 **6.0.12**
 *  PHP 版本 ** 5.6 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/alkanecode/)
 * 标签
 * [code editor](https://cn.wordpress.org/plugins/tags/code-editor/)[crayon](https://cn.wordpress.org/plugins/tags/crayon/)
   [prism](https://cn.wordpress.org/plugins/tags/prism/)[syntax highlighter](https://cn.wordpress.org/plugins/tags/syntax-highlighter/)
 *  [高级视图](https://cn.wordpress.org/plugins/alkanecode/advanced/)

## 评级

尚未提交反馈。

[Your review](https://wordpress.org/support/plugin/alkanecode/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/alkanecode/reviews/)

## 贡献者

 *   [ alkanesolutions ](https://profiles.wordpress.org/alkanesolutions/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/alkanecode/)

## 捐助

您愿意支持这个插件的发展吗?

 [ 捐助此插件 ](https://www.alkanesolutions.co.uk/)