News for hackers. Stuff that matters.
Re:Save Vim syntax highlighting to HTML by Hovertruck on Wednesday December 03, 2008 @10:08AM (#384387)
Now if only I could bring myself to put font tags anywhere near a page. :\
Re:Save Vim syntax highlighting to HTML by mileszs on Wednesday December 03, 2008 @10:16AM (#384393)
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.