First of all, please bottom-post to this list, as stated in our list
policy:

http://groups.google.com/group/vim_use/web/vim-information

Secondly, Vim can do pretty much everything you want here, in two
steps:

Step 1: Download the TxtFmt plugin. This will allow you to arbitrarily
color plaintext in Vim.

http://www.vim.org/scripts/script.php?script_id=2208

Step 2: Use the officially distributed "to html" plugin to
automatically build an HTML document containing all the text in your
document, complete with pretty highlighting. Simply execute
the :TOhtml command and watch it go.

Before doing step 2, it would be helpful to read up on the command and
all its options. :help :TOhtml will get you there. You almost
certainly want to set g:html_use_css, for example (for some reason you
need to opt in to non-broken html).

If you're interested in showing off, you can download my patch for
2html.vim that allows you to define folds in your document that also
show up in the converted HTML with interactivity. The patch is
available on this vim_dev thread (make sure to get the last iteration
submitted):

http://groups.google.com/group/vim_dev/browse_thread/thread/84bcdc1a7e56e14d/3ce6979d955e4f52
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to