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

REST API support for Crayon Syntax Highlighter

外掛說明

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

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.

This plugin adds support for it.

No more plain code!

安裝方式

  1. Upload rest-api-support-for-crayon-syntax-highlighter.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.

使用者評論

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.
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 則使用者評論

參與者及開發者

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

參與者

變更記錄

1.0.0 – 2018/11/12

  • Released initially.