這個外掛並未在最新的 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 訂閱開發記錄