views:

290

answers:

3

What's the best blogging software for a developer? In addition to the normal blogging stuff I want:

  1. Code snippets with highlighting in many languages, though primarily python and C++
  2. Good markup syntax
  3. Runs on linux
  4. Ability to put images, such as diagrams, inline

If Wordpress is the answer, what plugins should I get? In the past I've had trouble with snippets in wordpress.

+1  A: 

Most Blogware meets 3 and 4 pretty easily (all the ones I know do, anyway).

1 is usually handled through a plugin; Wordpress has the one mentioned in your comments, SyntaxHighlighter (alexgorbatchev.com/wiki/SyntaxHighlighter), but if your chosen platform doesn't have one you can use this javascript based one: http://code.google.com/p/syntaxhighlighter/ and make your own plugin for it. That's actually anothr criteria I'd add to your list if I could, "Ease of extension".

2 is probably the biggest differentiator between blog engines. Given your requirements, I"d recommend checking out Expression Engine (has the greatest / easiest control over emitted markup that I've seen), with Wordpress and Blogger following not far behind.

Paul
A: 

I totally agree that Wordpress with the SyntaxHighlighter Plugin is a great choice for your purpose. Additionally, you might want to check out a plugin I developed some time ago: SyntaxHL Editor. It offers a simple GUI to enter and modify the source code in your post.

Dennis
+2  A: 

I recommend Jekyll and use disqus.com for comments. For pretty printing code prettify.js works great.

Example of blogs using Jekyll:

My blog

Librador

The Pug

Paperplanes

List of many more here

Another interesting blog engine is gitblog (another link) if you may run git on your webhosting.

epatel