The Cult of Gary

13 Nov

Confluence and Google Code Prettify

EDIT - this post was lost due to a server crash. I’m hoping to put it back in the same spot, but I’m not sure if wordpress will allow me to do that without ugliness.

I mostly like Confluence. I don’t like the {code} blocks. The highlighting and formatting sucks. There’s a limited number of languages supported and I don’t really code in any of them. The list from the documentation says:

Makes a preformatted block of code with syntax highlighting. All the optional parameters of {panel} macro are valid for {code} too. The default language is Java but you can specify JavaScript, ActionScript, XML, HTML and SQL too.

I’d really like a Confluence plugin that used the Google Code Prettify javascript code. These seem like obvious things to mate together, since you wouldn’t have to worry about implementing new languages.  Quite often, I write psuedo code in the wiki and the JS code does a decent job of figuring it out. I searched Google for confluence google-code-prettify, since someone must have built a plugin already. The results were not promising.

Dear Lazy Web, please see what you can do.

Leave a Reply

© 2009 The Cult of Gary | Entries (RSS) and Comments (RSS)

GPSwordpress logo