WP Plugin: Syntax Highlighter for WP Editor
An easy to use, with intuitive interface, 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.
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 let us know and we will be happy to add them.
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.
Features
- Lightweight and fast
- Secure code with using clear coding standards
- Intuitive interface with many settings
- Cross browser compatible (work smooth in any modern browser)
- Compatible with all WordPress themes
- RTL compatible (right to left)
- Translation ready
- Published on WordPress.org
Key features include
- Syntax highlighting (by CodeMirror)
- Changeable color theme (36 variants)
- Line numbering
- Editor allow for tab indentation
- Live preview on Settings Page
Got more ideas? Tell us!
Supported languages:
- XML
- HTML
- CSS
- PHP
- JavaScript (.js)
- Markdown (.txt)
Screenshots
- Plugin settings page:
- Default WP Plugin Editor :
- Plugin Editor that provided by this plugin (color theme: ambiance) :
- Plugin Editor that provided by this plugin (color theme: default) :
- Theme Editor that provided by this plugin (color theme: ambiance):
Translation
This plugin is ready for translation and has already been translated into several languages. But If your language is not available then you can make one. It is also possible that not all existing translations are up to date, so you are welcome to make corrections. Many of plugin users would be delighted if you share your translation with the community. Thanks for your contribution!
If you want to help translate this plugin, please visit the translation page. You can also use the POT file that is included and placed in the languages
folder to create a translation PO file. Just send the PO file to us and we will include this translation within the next plugin update.
License
This 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
Quick-Start Guide
- Upload “Syntax Highlighter for WP Editor” to the
/wp-content/plugins/
directory. - Activate the plugin through the
Plugins
menu in WordPress. - Go to
Settings
→ “Theme / Plugin Editor”.
Contribution
Developing plugins is long and tedious work. If you benefit or enjoy this plugin please take the time to:
- Donate to support ongoing development. Your contribution would be greatly appreciated.
- Rate and Review this plugin.
- Share with us or view the GitHub Repo if you have any ideas or suggestions to make this plugin better.
Arthur is a designer and full stack software engineer. He is the founder of Space X-Chimp and the blog My Cyber Universe. His personal website can be found at arthurgareginyan.com.