Этот плагин не тестировался с последними 3 основными выпусками WordPress. Скорее всего, он уже не поддерживается и может быть несовместим с текущими версиями WordPress.

Code Syntax Highlighter

Описание

A code syntax highlighter an easy to use source code embedding in wordpress with different(55) themes with 172 languages.
It uses dynamic script loading to load only essential javascript to render code syntax highliting.
It uses most powerfull open source library CodeMirror as engine.

Features

  • Dynamic script loading to minimize load time and http call
  • 172 language support
  • 172 shortcodes
  • Shortcode picker in editor
  • Lightweight language selector
  • Multiple Theme support
  • 55 Themes
  • Theme manager
  • Theme uploader (Upload your own theme)
  • Compatible with all WordPress themes
  • Fast and secure
  • Cross browser compatible
  • Line numbering
  • A powerful, composable language system
  • Bracket and tag matching
  • Line selector
  • Able to resize to fit content

Minimum system requirements:

  • PHP version 5.2 or higher.
  • MySQL version 5.0 or higher.

Recommended system requirements:

  • PHP version 7.0 or higher.
  • MySQL version 5.6 or higher.

Credits

  • The banner of plugin is a copyrighted image created by the Briskjab. (C) All rights reserved.
  • CodeMirror is an open-source project shared under the MIT license.

Скриншоты

  • Plugin main settings page.
  • Plugin theme settings page.
  • Example of post with php,html,javascript,css code. «Material Design light» theme.
  • Example of post with php,html,javascript,css code. «Darcula» theme.
  • Example of post with php,html,javascript,css code. «Ambience» theme.
  • Edit page TinyMce shortcode button.

Установка

Automatically via WordPress Admin Area:

  1. Log in to Admin Area of your WordPress website.
  2. Go to «Plugins» -> «Add New«.
  3. Find this plugin and click install.
  4. Activate this plugin through the «Plugins» tab.

Manually via FTP access:

  1. Download a copy (ZIP file) of this plugin from WordPress.org.
  2. Unzip the ZIP file.
  3. Upload the unzipped catalog to your website’s plugin directory (/wp-content/plugins/).
  4. Log in to Admin Area of your WordPress website.
  5. Activate this plugin through the «Plugins» tab.

Часто задаваемые вопросы

Installation Instructions

Automatically via WordPress Admin Area:

  1. Log in to Admin Area of your WordPress website.
  2. Go to «Plugins» -> «Add New«.
  3. Find this plugin and click install.
  4. Activate this plugin through the «Plugins» tab.

Manually via FTP access:

  1. Download a copy (ZIP file) of this plugin from WordPress.org.
  2. Unzip the ZIP file.
  3. Upload the unzipped catalog to your website’s plugin directory (/wp-content/plugins/).
  4. Log in to Admin Area of your WordPress website.
  5. Activate this plugin through the «Plugins» tab.
Q. Can i upload my own designed theme on this plugin ?

A. Yes, by using code syntax highighter setting you can upload your own theme.

Q. Does this plugin load all languages on runtime ?

A. No, it only loads required languages scripts and addons.

Q. My wordpress site only needed limited set of languages, is there anyway of limiting loading of languages ?

A. Yes, in code syntax highlighter setting check on ‘load limited languages’.

Отзывы

Нет отзывов об этом плагине.

Участники и разработчики

«Code Syntax Highlighter» — проект с открытым исходным кодом. В развитие плагина внесли свой вклад следующие участники:

Участники

Перевести «Code Syntax Highlighter» на ваш язык.

Заинтересованы в разработке?

Посмотрите код, проверьте SVN репозиторий, или подпишитесь на журнал разработки по RSS.