Code to HTML
The vim 'syntax.txt' plugin includes an awesome command called :TOhtml
.
Highlight a range of code in Vim and run the command. Default range is the entire buffer.
You'll get an HTML document based on the code and its highlighting. Write the file and it is ready for a browser, a presentation, or anyplace else.
Tweet