Current Status of the Code Viewer WordPress Plugin
This site has been neglected for a long time, and that negligence has carried over to the development of the Code Viewer WordPress plugin as well. While I’ve been away, Code Viewer has been picked up/enhanced by a few other developers — namely AJ and Håkan Carlström — and has gained many new features…
Code Viewer now supports syntax highlighting using GeSHi, can display specific line numbers, and has user-configurable scrollbars (among a few other niceties). On top of those changes, the default code path variable can now be configured directly in WordPress’s admin interface rather than editing the plugin code by hand…very nice!
I don’t agree with all of the design choices they made with the new changes, but my qualms are minor. Specifically, I don’t like some of the chosen defaults, nor the new format when specifying viewcode tags:
[viewcode ] src=/code/example.txt link=yes[/viewcode]
…in comparison to the original:
<viewcode src="/code/example.txt" link="yes" />
That said, it is a cool feeling to find out that other people appreciate your work and chose to carry on with its development in your absence.
Passing the Torch
With the latest design incarnation here at ElasticDog, I decided to no longer use Code Viewer for displaying code snippets. Instead, I went with the plugin Code Markup, which allows me to easily embed custom markup within code blocks. It’s a completely different way of going about displaying code in blog entries when compared to Code Viewer, but it does the job well and suits my needs for the time being.
Although I haven’t actually worked on the development of Code Viewer since late 2004, I did register to have it hosted at the WordPress Plugin Repository. Unfortunately, I never got around to packaging it up for general consumption.
Trying to not be a slacker anymore, I have contacted Håkan in hopes of persuading him to take the reins and officially manage the plugin at the centralized WordPress repository. If he agrees, you should be able to download the plugin here very shortly: https://wordpress.org/extend/plugins/code-viewer/
In the mean time, you can find the most up to date version of Code Viewer at Håkan’s site. Happy coding!