Апісанне
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!
Ўсталёўка
- Upload rest-api-support-for-crayon-syntax-highlighter.zip via Dashboard -> Plugins -> Add New -> Upload Plugin.
- 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.
Водгукі
Удзельнікі і распрацоўшчыкі
“REST API support for Crayon Syntax Highlighter” is open source software. The following people have contributed to this plugin.
УдзельнікіПеракласці “REST API support for Crayon Syntax Highlighter” на вашу мову.
Зацікаўлены ў распрацоўцы?
Праглядзіце код, праверце SVN рэпазітарый, або падпішыцеся на журнал распрацоўкі па RSS.
Журнал змяненняў
1.0.0 – 2018/11/12
- Released initially.