You don't have to. As jmah said above, :TOhtml is the standard way to do it. First, you can issue the command :let html_use_css = 1. Highlight some code and enter :TOhtml, and you'll have non-font-tag-ified, css-ified HTML that uses your syntax highlighting.