Title: REST API support for Crayon Syntax Highlighter
Author: miunosoft
Published: <strong>2018 年 11 月 12 日</strong>
Last modified: 2018 年 11 月 12 日

---

搜尋外掛

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

![](https://s.w.org/plugins/geopattern-icon/rest-api-support-for-crayon-syntax-highlighter.
svg)

# REST API support for Crayon Syntax Highlighter

 由 [miunosoft](https://profiles.wordpress.org/miunosoft/) 開發

[下載](https://downloads.wordpress.org/plugin/rest-api-support-for-crayon-syntax-highlighter.1.0.0.zip)

 * [詳細資料](https://tw.wordpress.org/plugins/rest-api-support-for-crayon-syntax-highlighter/#description)
 * [使用者評論](https://tw.wordpress.org/plugins/rest-api-support-for-crayon-syntax-highlighter/#reviews)
 *  [安裝方式](https://tw.wordpress.org/plugins/rest-api-support-for-crayon-syntax-highlighter/#installation)
 * [開發資訊](https://tw.wordpress.org/plugins/rest-api-support-for-crayon-syntax-highlighter/#developers)

 [技術支援](https://wordpress.org/support/plugin/rest-api-support-for-crayon-syntax-highlighter/)

## 外掛說明

#### Is code syntax in posts created via REST API not highlighted?

[Crayon Syntax Highlighter](https://wordpress.org/plugins/crayon-syntax-highlighter/)
is one of the best code syntax highlighter plugins for WordPress and currently it
does nto support REST API. This means that it does not highlight code in posts created
via REST API, including posts created by [Gutenberg](https://wordpress.org/plugins/gutenberg/).

This plugin adds support for it.

No more plain code!

## 安裝方式

 1. Upload [rest-api-support-for-crayon-syntax-highlighter.zip](https://downloads.wordpress.org/plugin/rest-api-support-for-crayon-syntax-highlither.latest-stable.zip)
    via **Dashboard** -> **Plugins** -> **Add New** -> **Upload Plugin**.
 2. Activate it.

## 常見問題集

#### Why doesn’t Crayon Syntax Highlighter support it natively?

I do not know. Don’t ask me. Ask them. Maybe they are busy.

## 使用者評論

![](https://secure.gravatar.com/avatar/8b53337187386c2bb72b8f19d824ee6dd0eb060ad767badfc5bb5c2b7b00141e?
s=60&d=retro&r=g)

### 󠀁[Not clear description](https://wordpress.org/support/topic/not-clear-description/)󠁿

 [Ricardo Martins (PagBank Integrações)](https://profiles.wordpress.org/martins56/)
2019 年 10 月 28 日

It's not clear what the plugin does when it relates to Gutenberg Support. I currently
use Crayon with gutenberg when adding a Classic editor block, then selecting Crayon.
However, it only works once, unless I reload the editor. Installing this plugin 
didn't change that.

![](https://secure.gravatar.com/avatar/a8dae62735be73369143c971f24edf5806d5c4dc4603df241eeeec7dfa1ddc50?
s=60&d=retro&r=g)

### 󠀁[Not working](https://wordpress.org/support/topic/not-working-2809/)󠁿

 [Motahar Hossain](https://profiles.wordpress.org/motahar1/) 2019 年 2 月 4 日 1
則留言

It is not working on my localhost as well as remote server. Please check why it's
happening. Wordpress version 4.8.8 & 4.9.7

 [ 閱讀全部 2 則使用者評論 ](https://wordpress.org/support/plugin/rest-api-support-for-crayon-syntax-highlighter/reviews/)

## 參與者及開發者

以下人員參與了開源軟體〈REST API support for Crayon Syntax Highlighter〉的開發相關
工作。

參與者

 *   [ miunosoft ](https://profiles.wordpress.org/miunosoft/)
 *   [ Michael Uno ](https://profiles.wordpress.org/michael-uno/)

[將〈REST API support for Crayon Syntax Highlighter〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/rest-api-support-for-crayon-syntax-highlighter)

### 對開發相關資訊感興趣？

任何人均可[瀏覽程式碼](https://plugins.trac.wordpress.org/browser/rest-api-support-for-crayon-syntax-highlighter/)、
查看 [SVN 存放庫](https://plugins.svn.wordpress.org/rest-api-support-for-crayon-syntax-highlighter/)，
或透過 [RSS](https://plugins.trac.wordpress.org/log/rest-api-support-for-crayon-syntax-highlighter/?limit=100&mode=stop_on_copy&format=rss)
訂閱[開發記錄](https://plugins.trac.wordpress.org/log/rest-api-support-for-crayon-syntax-highlighter/)。

## 變更記錄

#### 1.0.0 – 2018/11/12

 * Released initially.

## 中繼資料

 *  版本 **1.0.0**
 *  最後更新 **8 年前**
 *  啟用安裝數 **20+**
 *  WordPress 版本需求 ** 4.7 或更新版本 **
 *  已測試相容的 WordPress 版本 **4.9.35**
 *  語言
 * [English (US)](https://wordpress.org/plugins/rest-api-support-for-crayon-syntax-highlighter/)
 * 標籤:
 * [code](https://tw.wordpress.org/plugins/tags/code/)[crayon](https://tw.wordpress.org/plugins/tags/crayon/)
   [rest](https://tw.wordpress.org/plugins/tags/rest/)[syntax](https://tw.wordpress.org/plugins/tags/syntax/)
   [syntax highlight](https://tw.wordpress.org/plugins/tags/syntax-highlight/)
 *  [進階檢視](https://tw.wordpress.org/plugins/rest-api-support-for-crayon-syntax-highlighter/advanced/)

## 評分

 3.5 星，滿分為 5 星

 *  [  0 個 5 星使用者評論     ](https://wordpress.org/support/plugin/rest-api-support-for-crayon-syntax-highlighter/reviews/?filter=5)
 *  [  1 個 4 星使用者評論     ](https://wordpress.org/support/plugin/rest-api-support-for-crayon-syntax-highlighter/reviews/?filter=4)
 *  [  1 個 3 星使用者評論     ](https://wordpress.org/support/plugin/rest-api-support-for-crayon-syntax-highlighter/reviews/?filter=3)
 *  [  0 個 2 星使用者評論     ](https://wordpress.org/support/plugin/rest-api-support-for-crayon-syntax-highlighter/reviews/?filter=2)
 *  [  0 個 1 星使用者評論     ](https://wordpress.org/support/plugin/rest-api-support-for-crayon-syntax-highlighter/reviews/?filter=1)

[撰寫評分](https://wordpress.org/support/plugin/rest-api-support-for-crayon-syntax-highlighter/reviews/#new-post)

[查看全部使用者評論](https://wordpress.org/support/plugin/rest-api-support-for-crayon-syntax-highlighter/reviews/)

## 參與者

 *   [ miunosoft ](https://profiles.wordpress.org/miunosoft/)
 *   [ Michael Uno ](https://profiles.wordpress.org/michael-uno/)

## 技術支援

使用者可在技術支援論壇提出意見反應或使用問題。

 [檢視技術支援論壇](https://wordpress.org/support/plugin/rest-api-support-for-crayon-syntax-highlighter/)

## 贊助

想要支援這個外掛的發展嗎？

 [ 贊助這個外掛 ](http://michaeluno.jp/en/donate)