WordPress.org

Plugin Directory

EasyCode

EasyCode provides a convenient way insert code to your posts, pages and comments. Your code will be displayed friendly to readers.

A great tool for tech blog. Insert source code in your posts and comments.

With the help of the plugin, you can share code snippets a better way, through a friendlier and more convenient interface.

EasyCode provides a convenient way insert code to your posts, pages and comments. Your code will be displayed friendly to readers and attached with useful functions and colorful appearance.

Features

Easy to use

  • Insert code in just one click. A button is integrated into the WordPress editor toolbar. Just click it and stuff code.
  • It require no extra configuration to start using.

Various appearance options

Easycode has a concise and modern interface which suits your blog's design anytime.

It provides various color schemes, including dark styles and light styles. There is always one which matches your themes. If they are all against your taste, just begin to design your own color scheme easily.

Besides, Easycode can display code snippets with selected font.

Useful functions

  • Now, EasyCode can highlight code. Four languages are supported: HTML,PHP,Javascript and CSS. After finishing designing your own color schemes, the highlight colors of each language will change, so there is no need to adjust one by one.
  • Use Code editor to view, modify or copy code shared. Two modes are available. The default mode is to show a float layer in the current window. If it cannot meet your need, please choose the other mode to show editor in a new window.

Lightweight

The whole program has a small size and the latest version has a better performance.

How to use

Add code in your posts

  1. Click "Add Code" button.
  2. Select language. (If you keep the default value "None", the code will not be highlighted)
  3. Input a title if you want.
  4. Paste your code into text area, then click "OK" button.

Add code in comments

It requires administrators to enable "Handle code in comments" option.

  1. Click "Add Code" button over the comment text area.
  2. Select a language, input a title and click "Insert".(Please refer to last task)
  3. Paste your code to replace content wrapped in "<pre>".
  4. 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 rgb colors, you can choose your own colors.

  1. Go to EasyCode setting page, click "Appearance" tab.
  2. Click "Use custom color schemes".
  3. Input your colors. (What's "Default highlight colors"? Refer to FAQ!)
  4. Click "Save Changes" then go to your blog to enjoy your design!

Requires: 2.9 or higher
Compatible up to: 4.5.3
Last Updated: 2 weeks ago
Active Installs: 60+

Ratings

0 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.