Obsolete tip
This tip has been merged into another tip.
See VimTip198 for the current tip.
Please do not edit this tip, and do not edit the discussion page.
If anything needs to be improved, please fix VimTip198.
Tip 621 Printable Monobook Previous Next
created 2003 · complexity advanced · author Giuseppe Maxia · version 5.7
Here is a Perl module to turn Vim into a highlighting engine for the web.
http://search.cpan.org/perldoc?Text::VimColor
See some basic usage at http://www.perlmonks.org/index.pl?node_id=314528 where I also show a caching module to improve Text::VimColor performance.
Comments
Within any file type (that has its own syntax highlight) use
:runtime syntax/2html.vim
for an html version.