In many occasions to edit a WordPress theme or plugin editor used the WordPress native code to avoid having to make the effort for FTP and edit the file with a code editor. But the WordPress code editor presents a simple plain text which we edit our code as we can ...
How about if we understand a little more?
Work to improve ourselves, is CodeMirror . A JavaScript-based component that detects over 20 programming languages and like any code editor uses syntax coloring to go while watching programming can go well if you're writing well, or how you're doing, by color according each category of terms.
To install, simply download the files and decompress them in the same directory of your theme. Then simply add this line to your functions.php of your theme or your plugin functions ...
And presto! A new and improved code editor , with it we can more easily edit codes ...
Thanks
How about if we understand a little more?
Work to improve ourselves, is CodeMirror . A JavaScript-based component that detects over 20 programming languages and like any code editor uses syntax coloring to go while watching programming can go well if you're writing well, or how you're doing, by color according each category of terms.
To install, simply download the files and decompress them in the same directory of your theme. Then simply add this line to your functions.php of your theme or your plugin functions ...
require_once("codemirror/codemirror.php");
And presto! A new and improved code editor , with it we can more easily edit codes ...
Thanks
0 comments:
Post a Comment