This is a recipe at the Python CookBook showing how to add a new directive to reStructuredText, called code-block, which syntax-highlights the block!
I just implemented it in Notty, and now you can have the neatest code snippets. I did have to hack the output a fair bit since the displaying widget doesn´t support <span> (or CSS for that matter), so I had to do massive search-replaces on the output, to convert to <font>. But it took only half an hour to do, since SilverCity´s output is very regular.
I think I will suggest this to Hugo for PyDS, considering the density of programmers among its users :-)