Source Code syntax highlighting plugin for WordPress (V1.2)

Introduction

This WordPress plugin using Geshi to highlight source code in a wide range of popular languages.it aims to be a simple but powerful code highlighting plugin, with the following goals:

  • Easy to use.
  • Support for a wide range of popular languages.
  • Customizable output formats.

Installation

This plugin requires WordPress v.1.5 or later.

  1. Download Dean’s Code Highlighter v1.2  and unzip it.
  2. Upload the plugin to your plugin directory (wp-content/plugins).
  3. Activate the plugin through the ‘Plugins’ menu in WordPress.
  4. Modify the stylesheet file geshi.css to get the coloring you prefer.

usage

Use the "pre" tag and add the programming language you want to use as a parameter. Example:. < pre lang="php" >your code here … < /pre >. for example: <pre lang="php"> function hello_world(){ echo "hello world" }</pre> after highlighting:

function hello_world()
{
        echo "hello world";
}

You can see a Living demo at here.

Revision History

  • version 1.2 (2007-08-28)
  • version 1.1
    • Add the ability to strips unwanted tags in your code snippets added by WYSWYG editors.
  • version 1.0 initial version

See also

There is another plugin may interest you:Google Code Prettify for wordpress.it’s a javascript syntax highlighter based on Google Code Prettify.

Related posts:

  1. Google Code Prettify for wordpress
  2. Source Code syntax highlighting has been upgraded
  3. Fckeditor for wordpress is now hosted on Google Code

Related posts:

TAGS: , , , , ,


293 Comments »

« Previous3029282726252423...21Next »
WordPress Eklentileri - Hizirforum On August 16th, 2010 at 6:48 pm (#)

[...] Dean’s Code Highlighter 1.2 (Kod gösterimi için eklenti) [...]

Поставил wordpress 2. Продолжение. « Блог Snacho On August 6th, 2010 at 3:43 am (#)

[...] который будет адекватно выводить исходный код. Это Dean’s Code Highlighter . Конечно пришлось пожертвовать красивым visual [...]

Compile Time String Hashing 2 · y-less.com On May 14th, 2010 at 3:29 am (#)

[...] just installed this syntax highligher as my code was VERY hard to read on here. Hopefully it will be better now. Next [...]

Александр Петухов PHP+JavaScript+HTML+CSS » Плагины для подсветки кода в WordPress’е On May 13th, 2010 at 11:42 am (#)

[...] И напоследок Dean’s Code Highlighter [...]

Hide UISearchBar Background (iPhone SDK 3.2 & 4.0) - The B-Log On May 11th, 2010 at 6:42 am (#)

[...] I’ll try to not let it dominate my bi-annual blog posts. Also, I’m testing out this code highlighting plugin which seems to work pretty [...]

[Wordpress] It removes pre tag attributes On April 17th, 2010 at 5:39 am (#)

[...] will authorize plugins like Source Code syntax highlighting plugin for WordPress or WP-CodeBox to work just perfectly [...]

WiseColt » Kod Renklendirme Eklentisi On April 14th, 2010 at 3:01 pm (#)

[...] bu işlemleri yapabilen bir eklenti aramaya itti. Google’ da yaptığım aramalardan birinde Dean’s Code Highlighter v1.2 eklentisine rastladım. Gerçekten kullanışlı görünüyor. “< pre [...]

Chase Your Dreams! » Получение IP по MAC On April 4th, 2010 at 5:11 pm (#)

[...] Это ж ужосужос, замучился пока форматировал Code Highlighter Tags: ip, mac, proxy, ruby, windows [...]

Anno On February 24th, 2010 at 8:45 pm (#)

I am very happy I found your site on google. Thanks for the sensible critique. Me and my friend were just preparing to do some research about this. I am glad to see such good information being shared for free out there.
Regards,
Fraze from Jersey City city

Testing my new plugin :) « JB's Blog On January 25th, 2010 at 6:09 am (#)

[...] i just installed this new plugin and i’m trying it right now. It’s a simple formatting coloring plugin. The file is [...]

« Previous3029282726252423...21Next »

Leave a comment


(will not be published)