If you execute :TOhtml in VIM, it will give you some HTML code that will display your code in a format that attempts to replicate what your VIM looks like - background color, syntax highlighting, indention, line numbers, etc.