I had some problems implementing this but got some great help and was able to overcome the issues.
Turns out I was creating the TOC wrong. Check out this stackoverflow.com question for details
If your having TOC issues, you can take a look at my markdown source for guidance.
Also got the coderay stuff working following this excellent article.
I wound up wrapping code lines by changing her
block in
to:
If you get stuck on any of this feel free to take a peek at my source code that I had to change to make this work. Please note I also installed her awesome coderay Octopress plugin.