Here is another patch for this. It is more up to date than either of the patches linked on the previous page. It is most similar to sourcehighlight.

Updated to use fix noted in multiple pages with same name.

-- Will

I was trying to replace sourcehighlight with sourcecode. I had to modify the htmlize call slightly so that it would work in a format directive. (modified version)

I haven't tested them, but those changes look sensible to me. -- Will

I hit a wall the following example (the last commit in the above repo).

[[!meta  title="Solutions to assignment 1"]]

- <div class="highlight-cc"><pre class="hl">    test