=== EasyCode === Donate link: http://ppc.000a.de/ Tags: source code,code,programmer,program,share,post,highlight,insert Requires at least:2.9 Tested up to: 4.2.2 Stable tag: 1.4 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html The plugin inserts code in posts and comments,with various appearance. It allows code to show in a more friendly way,such as editor and highlighting. == Description == **A great tool for programmers' blog. Insert source code in your posts and comments.** With the help of the plugin, you can share your code in a better way. The plugin provides your blog with a more friendly and more convenient interface. How to use the plugin? Please read the following. = Features = **Colorful** EasyCode provides various color schemes,including dark styles and light styles.There is always what matches your themes.If they are all what you dislike,just design original color schemes yourself easily. **Highlight** Now,EasyCode can highlight code.Four languages are supported: HTML,PHP,Javascript and CSS.After designing your own color schemes,the highlight colors for every language will change,so there is no need to adjust one by one. **Code Editor** Two modes are provided.The default mode is to show a layer in the current window.If it has conflict with your themes ,please enable the other mode to show editor in a new window. **Lightweight** = Usages = **Add code in your posts** 1. Click "Add Code" button. 1. Select language.(If you keep the default value "None",the code will not be highlighted) 1. Input a title if you want. 1. Paste your code into textarea ,then click "OK" button. **Add code in comments** *(For administrator) Please enable "Handle code in comments" option.* 1. Click "Add Code" button over the comment textarea. 1. Select a language,input a title and click "Insert".(Please refer to last task) 1. Paste your code to replace content wrapped in <pre>. 1. If code contains "<pre>",escape it to HTML entities, that's replace "<" to "&lt;" and ">" to "&gt;". **Design your own color schemes** *If you are familiar with computer colors,you can choose your own colors.* 1. Go to EasyCode setting page,click "Appearance" tab. 1. Click "Use custom color schemes". 1. Input your colors.(What's "Default highlight colors"? Refer to FAQ!) 1. Click "Save Changes" then go to your blog to enjoy your design! == Installation == 1. Upload the `easycode` directory in the zip file to the `/wp-content/plugins/` directory. 1. Activate the plugin through the "Plugins" menu in WordPress *It's also OK to install by searching the online plugin library in "Plugins".* == Frequently Asked Questions == = Can the plugin handle comments? = Of course! Once the plugin is activated,it will add "Insert Code" button before the comment textarea.It can also handle code in comments just like in posts. If you don't want to enable the function,please adjust in setting. = Where is the option page? = It is in `Option`. = Can I use my own color to suit my blog themes? = In "Appearance" tag of the option page, you can select the color schemes offered by EasyCode.If you are familiar with the computer color,you can also choose your own colors. All the CSS files for color schemes are located in `/boxstyles`.So you can create your own CSS files by modeling.They also appear in setting page. = What's "Default highlight colors"? = By adjusting "Default highlight colors",you can change highlight colors for different languages at the same time. You might say not all languages has Function,Variable,Constant etc.But they are just names that are easy to comprehend.Every language has been linked to the several colors. Still want to set independent colors one language after another? All right,I have to say sorry. == Screenshots == 1. Insert code in posts. 2. In your posts. 3. Insert code in comments 4. Various color schemes. 5. Double click to edit code. 6. Editor in a new window. == Changelog == = 1.4 = *Add code highlighter for 4 languages. *The code editor can open in a new window. *New color schemes. = 1.31 = *Repair the problem that code boxes shown incorrectly in some themes. = 1.3 = * More beautiful interface. * Give you more freedom in terms of colors * The version adds buttons for the visual editor. = 1.2 = * Solve some problems in editing mode * modify some code * change the method of analyzing code inserted. * more appearance options. = 1.1 = * Editing mode. = 1.0 = * The first version == Upgrade Notice == = 1.4 = Great Upgrade = 1.0 = * The first version