How to "screenshot" a terminal with ANSI colors and export to HTML?

view story

http://serverfault.com – I want to do a full screen copy of some terminal output, with ANSI colors, and generate HTML so I can post to a blog or wiki. My real world example: I want to document top with all of its ANSI color goodness. (I'd rather not do a bitmap screenshot. Text is more efficient.) Ideas? (HowTos)