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.
- Download Dean’s Code Highlighter v1.2 and unzip it.
- Upload the plugin to your plugin directory (wp-content/plugins).
- Activate the plugin through the ‘Plugins’ menu in WordPress.
- 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:
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:
Related posts:
[...] Dean’s Code Highlighter 1.2 (Kod gösterimi için eklenti) [...]
[...] который будет адекватно выводить исходный код. Это Dean’s Code Highlighter . Конечно пришлось пожертвовать красивым visual [...]
[...] just installed this syntax highligher as my code was VERY hard to read on here. Hopefully it will be better now. Next [...]
[...] И напоследок Dean’s Code Highlighter [...]
[...] 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 [...]
[...] will authorize plugins like Source Code syntax highlighting plugin for WordPress or WP-CodeBox to work just perfectly [...]
[...] 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 [...]
[...] Это ж ужосужос, замучился пока форматировал Code Highlighter Tags: ip, mac, proxy, ruby, windows [...]
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
[...] i just installed this new plugin and i’m trying it right now. It’s a simple formatting coloring plugin. The file is [...]