Vim Tips Wiki
Advertisement

Previous TipNext Tip

Tip: #621 - Vim as a syntax highlighting engine for web publishing

Created: December 15, 2003 13:18 Complexity: advanced Author: Giuseppe Maxia Version: 5.7 Karma: 15/10 Imported from: Tip#621

Geoff Richards has written a Perl module to turn Vim into a highlighting

engine for the web.

Text::VimColor (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.


Enjoy


gmax

Comments

within any file type (that has its own syntax highlight) use

runtime syntax/2html.vim

ta-da! you got an html version.

mmr--AT--b1n.org , February 5, 2004 11:09


Now this:

runtime syntax/2html.vim

is fantastic. Thanks very much :)


Lee

vim--AT--snert.demon.co.uk , May 24, 2004 5:13


Advertisement