Syntax Highlighting into HTML
- One can use gvim to convert syntax highlighted files, to HTML files that contain their text coloured in their highlighted colours.
- To do that one can invoke the command
:TOhtml
, and get a resultant file in a new buffer and window.
- Use
:let html_use_css = 1
to make sure the HTML is outputted using CSS styles instead of font tags and other old HTMLisms.