thumb An easy to use WordPress plugin that replaces the default Theme and Plugin Source Code Editor with an enhanced editor by a CodeMirror library. The WordPress default Theme Editor (in Appearance => Editor) and Plugin Editor (in Plugins => Editor) is great for doing some custom changes to your Themes or Plugins files, although it is rather limited. This is where the “Syntax Highlighter for WP Editor” can help. With an enhanced source code editor you can see a code with syntax highlighting, and with line numbering, so you can easily read your code and detect any errors.



Description

WP Plugin "Syntax Highlighter for WP Editor"

This plugin give you finer control over editor, it can be configured on the plugin settings page. You can chose from 36 different color themes for your editor. If you want more options then tell me and I will be happy to add it.

This plugin is just plug and play, no tedious configurations or hacks, just install, enable and start using your new enhanced Theme and Plugin Editor.

Quick-Start Guide

  1. Upload “Syntax Highlighter for WP Editor” to the /wp-content/plugins/ directory.
  2. Activate the plugin through the “Plugins” menu in WordPress.
  3. Go to “Settings” → “Syntax Highlighter for WP Editor”.

Features

Current features:

  • Syntax highlighting (by CodeMirror)
  • Changeable color theme (36 variants)
  • Line numbering
  • Editor allow for tab indentation
  • Easy to use Settings Page
  • Live preview on Settings Page
  • Ready for translation (POT file included)
  • Published on WordPress.org

Supported languages:

  • XML
  • HTML
  • CSS
  • PHP
  • JavaScript (.js)
  • Markdown (.txt)

Screenshots

  1. Plugin settings page: WP plugin "Syntax Highlighter for WP Editor" by Arthur Gareginyan
  2. Default WP Plugin Editor : WP plugin "Syntax Highlighter for WP Editor" by Arthur Gareginyan
  3. Plugin Editor that provided by this plugin (color theme: ambiance) : WP plugin "Syntax Highlighter for WP Editor" by Arthur Gareginyan
  4. Plugin Editor that provided by this plugin (color theme: default) : WP plugin "Syntax Highlighter for WP Editor" by Arthur Gareginyan
  5. Theme Editor that provided by this plugin (color theme: ambiance): WP plugin "Syntax Highlighter for WP Editor" by Arthur Gareginyan

Translation

This plugin is translate ready. But If your language is not available you can make one. The .pot file is included and placed in “languages” folder. Many of plugin users would be delighted if you shared your translation with the community. Just send the translation files (*.po, *.mo) to me at the arthurgareginyan@gmail.com and I will include the translation within the next plugin update.

License

gplv3This plugin is open-sourced software licensed under the GNU General Public License, version 3 (GPLv3) and is distributed free of charge.

Commercial licensing (e.g. for projects that can’t use an open-source license) is available upon request.

Download

.ORGDownload from

Fork on Github


Contribution

Developing plugins is long and tedious work. If you benefit or enjoy this plugin please take the time to:


Arthur Gareginyan

Arthur Gareginyan

Arthur is a designer and full stack software engineer. He is the founder of MyCyberUniverse.com. His personal website can be found at arthurgareginyan.com. Check out his free WordPress plugins at wordpress.org.

Follow Arthur: