Displaying Code in Color on your wordpress

StumbleuponDelicious

CodeColorer
Author
: Dmytro Shteflyuk

CodeColorer is the plugin which allows you to insert code snippets into the post with nice syntax highlighting.Plugin based on GeSHi library, which supports most languages. CodeColorer has various nice features: This article is to teach you how to install the CodeColorer in your wordpress site, same as smashingmagazine, nettuts+

Smashing Magazine CodeColorer

smashingmagazine_codecolorer

NetTuts+ Geshi

tutsplus_codecolorer

  • syntax highlighting in RSS feeds
  • syntax highlighting of single line of code (inline)
  • syntax highlighting of code in comments
  • line numbers
  • automatic links to the documentation inserting
  • code block intelligent scroll detection (short code would have short block, for long one block height would be fixed and scrollbar would appear)
  • predefined color themes (Slush & Poppies, Blackboard, Dawn, Mac Classic, Twitlight, Vibrant Ink)
  • syntax colors customization in CSS file
  • code protect from mangling by Wordpress (for example, quotes, double-dashes, and others would look just right as you entered)

Simply both website does not use codecolorer, in the next article, I will show you which to use to go exact with the big guy. But please read on to this, so you know a bit more.

Download:

You can download the plugin here.

Installation

  1. Download and unpack plugin files to wp-content/plugins/codecolorer directory.
    upload_codecolorer
  2. Enable CodeColorer plugin on your Plugins page in Site Admin.
    activate_codecolorer
  3. Go to the Options/CodeColorer page in Site Admin and change plugin’s options as you wish.
  4. You can go here to take a look at the examples from the author website.
  5. Have fun!

I hope you have enjoyed this post, be sure to subscribe to my rss feed by click the subscribe button at the top.

Good Luck!

Be Sure to Subscribe to our feed or follow us on twitter to get the latest updates/patches
End of Article, Thanks for reading.
You can leave a response, or trackback from your own site.
StumbleuponDelicious

This website uses IntenseDebate comments, but they are not currently loaded because either your browser doesn't support JavaScript, or they didn't load fast enough.

2 Responses to “Displaying Code in Color on your wordpress”

  1. Razvan says:

    I use Wordpress, it's easy!

  2. Maria Howard says:

    I usually submit 300 word articles on article directories to help me gain backlinks and readers.~:”

Leave a Reply